how is it going?
I'm working on a Project with Vue.js.
I installed npm
several times, but it keeps telling me that there is a couple of files that are not included in node_module
folder.
Here is a detail of the error when I try the npm run serve
:
ERROR 1
error in ./node_modules/primevue/api/FilterService.js
Syntax Error: no such file or directory, open 'C:\Users\guill\OneDrive\Escritorio\siis_frontend\node_modules\primevue\api\FilterService.js'
ERROR 2
error in ./node_modules/core-js/modules/es.regexp.dot-all.js
Syntax Error: no such file or directory, open 'C:\Users\guill\OneDrive\Escritorio\siis_frontend\node_modules\core-js\modules\es.regexp.dot-all.js'
Something that I should mention is that a partner of mine does not have those folder neither files. But he is running the project properly with no problems.
Is there something I could do to fix that? Thanks in advance...
CodePudding user response:
Let's start with some basic troubleshooting steps.
- Delete your node_modules-folder
- Delete the package-lock.json-file
- Navigate to the folder containing the package.json-file
- Run npm install
Let me know if this solves your problem or not.