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
Hi, I've followed your "Getting Started" steps, but I'm getting the following error when I run "npm run serve":
PS C:\build\heroes-vue\vue-app> npm run serve
> [email protected] serve C:\build\heroes-vue\vue-app
> vue-cli-service serve
INFO Starting development server...
ERROR Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\config\base.js
- C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\Service.js
- C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\bin\vue-cli-service.js
Error: Cannot find module 'vue-loader-v16/package.json'
Require stack:
- C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\config\base.js
- C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\Service.js
- C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\bin\vue-cli-service.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Module.require (internal/modules/cjs/loader.js:849:19)
at require (internal/modules/cjs/helpers.js:74:18)
at C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\config\base.js:114:23
at C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\Service.js:236:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\Service.js:236:26)
at Service.resolveWebpackConfig (C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\Service.js:240:48)
at PluginAPI.resolveWebpackConfig (C:\build\heroes-vue\vue-app\node_modules\@vue\cli-service\lib\PluginAPI.js:132:25)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I can workaround this by installing the "vue-loader-v16" package, and then the app is functional, but I'm just wondering if there's something I'm missing?
The text was updated successfully, but these errors were encountered:
Hi, I've followed your "Getting Started" steps, but I'm getting the following error when I run "npm run serve":
I can workaround this by installing the "vue-loader-v16" package, and then the app is functional, but I'm just wondering if there's something I'm missing?
The text was updated successfully, but these errors were encountered: