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

node 16.11.0 and eslint 8.0.0 breaks lint command #29802

Closed
varand-pez opened this issue Oct 11, 2021 · 3 comments · Fixed by #29865
Closed

node 16.11.0 and eslint 8.0.0 breaks lint command #29802

varand-pez opened this issue Oct 11, 2021 · 3 comments · Fixed by #29865
Labels
bug Issue was opened via the bug report template. examples Issue/PR related to examples

Comments

@varand-pez
Copy link

What example does this report relate to?

linting

What version of Next.js are you using?

11.1.2

What version of Node.js are you using?

16.11.0

What browser are you using?

Chrome

What operating system are you using?

macOS

How are you deploying your application?

locally

Describe the Bug

I recently upgraded node to v16.11 as it was requirement for eslint latest 8.0.0 version.
I noticed lint command is no longer working throwing an error below

Screen Shot 2021-10-11 at 2 13 46 AM

Expected Behavior

yarn run lint to work as expected

To Reproduce

upgrade to latest version of eslint 8.0.0 and try eslint

@varand-pez varand-pez added bug Issue was opened via the bug report template. examples Issue/PR related to examples labels Oct 11, 2021
@stefanprobst
Copy link
Contributor

see #29770

@ykzts ykzts mentioned this issue Oct 14, 2021
8 tasks
@housseindjirdeh
Copy link
Collaborator

Unfortunately ESLint 8 is not yet supported so please downgrade to v7 for the meantime:

  • yarn remove eslint && yarn add --dev eslint@"<8.0.0"
  • npm uninstall eslint && npm install --save-dev eslint@"<8.0.0"

Closing this since it's a duplicate of #29829.

@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. examples Issue/PR related to examples
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants