-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.
Description
What version of Next.js are you using?
11.1.2
What version of Node.js are you using?
16.7
What browser are you using?
irrelevant
What operating system are you using?
irrelevant
How are you deploying your application?
irrelevant
Describe the Bug
Updating to [email protected] produces an error:
Oops! Something went wrong! :(
ESLint: 8.0.0
Error: Cannot read config file: /Users/justfly/projects/tkww/homescreen-v2/node_modules/eslint-config-next/index.js
Error: Failed to patch ESLint because the calling module was not recognized.
If you are using a newer ESLint version that may be unsupported, please create a GitHub issue:
https://github.com/microsoft/rushstack/issues
Referenced from: /Users/justfly/projects/tkww/homescreen-v2/node_modules/eslint-config-next/core-web-vitals.js
at Object.<anonymous> (/Users/justfly/projects/tkww/homescreen-v2/node_modules/@rushstack/eslint-patch/lib/modern-module-resolution.js:58:19)
at Module._compile (/Users/justfly/projects/tkww/homescreen-v2/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (/Users/justfly/projects/tkww/homescreen-v2/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at Object.<anonymous> (/Users/justfly/projects/tkww/homescreen-v2/node_modules/@rushstack/eslint-patch/modern-module-resolution.js:1:63)
at Module._compile (/Users/justfly/projects/tkww/homescreen-v2/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)Currently reverted to 7.32.0
Expected Behavior
Should support eslint@8
To Reproduce
update eslint to latest 8.0.0 version in any nextjs project using eslint-config-next
rtritto, gregrickaby, linosorice, m10maeda, MonstraG and 33 more
Metadata
Metadata
Assignees
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.