-
error - ESLint: Failed to load plugin '@next/next' declared in '.eslintrc.js': Unexpected token '.' Referenced from:
info - Creating an optimized production build...
warn - Found lockfile missing swc dependencies, run next locally to automatically patch |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 18 replies
-
mmm what is @next/next? the next plugin is called Would you mind sharing more? |
Beta Was this translation helpful? Give feedback.
-
Had the same error
Upgraded from node 12.22 to node 14.19 then reinstalled node_modules and it works |
Beta Was this translation helpful? Give feedback.
-
I am getting this error in neovim prettier is working fine. I am using null-ls. This is just a starter template from pnpx create-next-app -ts- and this is the eslintrc.json file |
Beta Was this translation helpful? Give feedback.
-
Degrade next version I'm just using the pages for now bc the app gives me
so many errors and don't even know from where and why
…On Fri, 26 May 2023, 11:15 pm Rolando Medina, ***@***.***> wrote:
Hi, were you able to fix this issue? Im having the same problem
—
Reply to this email directly, view it on GitHub
<#38220 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUXM4BXQBWETK4BQRY5HNZTXIDSERANCNFSM52LHGBAQ>
.
You are receiving this because you commented.Message ID: <vercel/next.
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
it's
|
Beta Was this translation helpful? Give feedback.
-
In my case this was caused by two versions of typescript being installed in a monorepo project. The root version was 4.x and the child was 5.x. Manually installing typescript@^5.0.0 in the base project fixed the issue. |
Beta Was this translation helpful? Give feedback.
mmm what is @next/next? the next plugin is called
eslint-config-next
, and we typically extendnext/core-web-vitals
in the eslint config.Would you mind sharing more?
package.json
and.eslintrc.js
, also file structure if possible.