Closed 42savage closed 1 year ago
I also had this problem.
npm install --save-dev ajv
This has temporarily solved it for me, but I would prefer a fix in this module without installing additional packages.
I was trying to install ajv-keywords manually, but it didn't resolve my problem so i removed it. Finally upgrading node version to 18 helped, but eslint now is asking for its configuration. In nuxt2 it was provided by default, now it looks like I have to do it on my own. Is that right?
It was always necessary to configure eslint, both in nuxt 2 and in nuxt3
Hi, So today i wanted to learn nuxt3. I started with totally basic configurating. At first place I wanted to install eslint. I installed it just like it is in the tutorial.
and then
and finally nuxt.config.ts
This results with error
Nuxi 3.3.2 12:15:08
Nuxt 3.3.2 with Nitro 2.3.2 12:15:08 12:15:11
ERROR Cannot start nuxt: Cannot find module 'ajv/dist/compile/codegen' 12:15:11 Require stack:
C:\Users\Kamil\Desktop\Projekty\vue-mongo-tood-app\node_modules\eslint-webpack-plugin\dist\index.js
Require stack:
ERROR [unhandledRejection] Cannot find module 'ajv/dist/compile/codegen' 12:15:11
Require stack:
C:\Users\Kamil\Desktop\Projekty\vue-mongo-tood-app\node_modules\eslint-webpack-plugin\dist\index.js
Require stack: