-
Notifications
You must be signed in to change notification settings - Fork 28.4k
error - ESLint must be installed: yarn add --dev eslint #30182
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
Comments
I just attempted it with yarn dlx create-next-app, which also did not work. I am going to look a little further into the issue, I saw that the run lint check on first configuration got changed in the next cli package 2 days ago, and I suspect it may introduce a breaking change again. Currently the workaround is to pin a downgraded version like 7.23.0 |
I have the same... |
I have the same too |
Please downgrade eslint version npm i -D [email protected] may be there is some error in latest version |
I also experience this while using
But the project runs fine ( |
Likewise... I am having this issue but with an existing project. We recently upgraded our nextJS version and since linting was a new feature we could take advantage of, we gave it a shot! I was able to get things working with the following versions:
|
This has been fixed on https://github.com/vercel/next.js/releases/tag/v12.0.5-canary.0, will be out on stable soon! |
Thanks . This version also working for me. |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What version of Next.js are you using?
11.1.2
What version of Node.js are you using?
14.18.0
What browser are you using?
Chrome
What operating system are you using?
Windows WSL2
How are you deploying your application?
Vercel
Describe the Bug
I just created a new project using
And when I run
I got the error:
Expected Behavior
Ran without error
To Reproduce
npx create-next-app@latest --ts cd app npm install npm run lint
The text was updated successfully, but these errors were encountered: