Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"next lint" can't find eslint #29977

Closed
RobertSandiford opened this issue Oct 16, 2021 · 6 comments
Closed

"next lint" can't find eslint #29977

RobertSandiford opened this issue Oct 16, 2021 · 6 comments
Labels
bug Issue was opened via the bug report template.

Comments

@RobertSandiford
Copy link

What version of Next.js are you using?

11.1.2

What version of Node.js are you using?

v14.18.1

What browser are you using?

N/A

What operating system are you using?

Windows 10

How are you deploying your application?

local dev

Describe the Bug

Running "yarn lint" produces error output:

> yarn lint
$ next lint
info  - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
error - ESLint must be installed: yarn add --dev eslint
Done in 2.79s.

eslint is installed and running the suggested command doesn't change the result

Expected Behavior

The linter runs

To Reproduce

npx create-next-app .
yarn lint

@RobertSandiford RobertSandiford added the bug Issue was opened via the bug report template. label Oct 16, 2021
@gaston-flores
Copy link

I think this is a duplicate of #29961. A workaround is to downgrade eslint to 7.32.0

@RobertSandiford
Copy link
Author

I think this is a duplicate of #29961. A workaround is to downgrade eslint to 7.32.0

Yes it is. Nothing came up on a search.

Thanks

@stefanprobst
Copy link
Contributor

see #29770 (comment)

@vinamelody
Copy link

yup downgrading works

@housseindjirdeh
Copy link
Collaborator

Closing since it's a duplicate!

@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue was opened via the bug report template.
Projects
None yet
Development

No branches or pull requests

6 participants