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

Added vue-loader-v16 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

aosyatnik
Copy link

Hi, I was getting the next error, when running npm run serve:

 INFO  Starting development server...
 ERROR  Error: Cannot find module 'vue-loader-v16/package.json'
Error: Cannot find module 'vue-loader-v16/package.json'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
    at Function.Module._load (internal/modules/cjs/loader.js:506:25)
    at Module.require (internal/modules/cjs/loader.js:636:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at api.chainWebpack.webpackConfig (C:\Projects\vue-crash-2021\node_modules\@vue\cli-service\lib\config\base.js:114:23)
    at webpackChainFns.forEach.fn (C:\Projects\vue-crash-2021\node_modules\@vue\cli-service\lib\Service.js:236:40)
    at Array.forEach (<anonymous>)
    at Service.resolveWebpackConfig (C:\Projects\vue-crash-2021\node_modules\@vue\cli-service\lib\Service.js:240:48)
    at PluginAPI.resolveWebpackConfig (C:\Projects\vue-crash-2021\node_modules\@vue\cli-service\lib\PluginAPI.js:132:25)
npm ERR! code ELIFECYCLE

I added vue-loader-v16 to package.json. It also regenerated package-lock.json (not sure if I needed to push it, but I still pushed). Now the server is running fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant