-1👍
I believe there is a dependency your project has which you have not installed. Run npm install
to install the necessary dependencies. sometimes npm gets messed up and i need to delete the entire node modules folder and then run npm install
to get a fresh node modules setup.
just to clear some things up.the default vue cli configuration is that npm run serve
will run your app live locally. the npm run build
compiles your app into the dist folder which you then can serve from your server ( or something like the live server extension in VS code)
- [Vuejs]-Overwrite Default ChartJS Variables with Webpack
- [Vuejs]-How to nest components in cdn setup vue.js project
Source:stackexchange.com