I'm new to VueJs and implemented the cli-plugin-unit-jest for my project.Once i aded it to project it's show me below error
Failed to compile.
./node_modules/vue-router/dist/vue-router.esm.js
Module build failed: Error: ENOENT: no such file or directory, open '/media/abc/049A20AD9A209CE4/test/node_modules/vue-router/dist/vue-router.esm.js'
i have deleted node_module
directory and re installed it.but still showing this error.
Just restart your server:
npm run serve
Today I stumbled about the same problem with vue-router. You can fix this by following this steps:
cd node_modules/vue-router
npm install
npm run build
After that you have to restart
npm run serve
Source: https://router.vuejs.org/installation.html#dev-build
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With