Skip to content

unused variable error #24

Description

@mcfalld

Description

when i build i get this:

PS C:\jellyseerr> yarn build
yarn run v1.22.22
$ yarn build:next && yarn build:server
$ next build
warn - You have enabled experimental features (scrollRestoration, largePageDataBytes) in next.config.js.
warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.

info - Linting and checking validity of types ...warn - The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config

Failed to compile.

./src/components/Discover/index.tsx
114:9 Error: 'upcomingDate' is assigned a value but never used. @typescript-eslint/no-unused-vars

info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Version

jellyseer 2.7.3

Steps to Reproduce

  1. Clone the repository

git clone https://github.com/Larrikinau/overseerr-content-filtering
cd overseerr-content-filtering

  1. Install dependencies

yarn install

  1. Attempt to build the project

yarn build

  1. Build fails during the Next.js frontend compilation with a TypeScript/ESLint error:

Error: 'upcomingDate' is assigned a value but never used. @typescript-eslint/no-unused-vars

Screenshots

No response

Logs

Platform

desktop

Device

windows pc

Operating System

windows 11

Browser

not using a browser but if i did it would be Brave

Additional Context

No response

Code of Conduct

  • I agree to follow Overseerr's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions