You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm run serve command failed in a freshly made project created with @vue/cli. (Cannot find module '\node_modules\eslint\lib\api.js/package.json') #10226
Here's what happened:
Installed vue cli tool.
created a project using it.
tried to start the project with npm run serve according to docs.
compile process failed, right out of the bat!
INFO Starting development server...
98% after emitting CopyPlugin
ERROR Failed to compile with 1 errors 20:56:38
Module build failed (from ./node_modules/eslint-loader/index.js):
Error: Cannot find module 'E:\xampp\htdocs\testvue2\node_modules\eslint\lib\api.js/package.json'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.module.exports (E:\xampp\htdocs\testvue2\node_modules\eslint-loader\index.js:170:23)
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.