I've been working on a project using Vue.js CLI, and when I enter 'npm run serve' in the terminal, it should provide me with a localhost link to paste in a browser to view my work. However, I keep encountering multiple errors:
> [email protected] E:\MILAD\VUE.JS\TRAINING & projects\log in CLI
> vue-cli-service serve
The system cannot find the path specified.
internal/modules/cjs/loader.js:834
throw err;
^
Error: Cannot find module 'E:\MILAD\VUE.JS\@vue\cli-service\bin\vue-cli-service.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
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.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Bannourah Gang\AppData\Roaming\npm-cache\_logs\2020-10-15T00_03_44_083Z-debug.log
Additionally, there is an unknown message stating: "This is probably not a problem with npm. There is likely additional logging output above."
I am uncertain about what this means and why it keeps appearing. Any assistance would be greatly appreciated.