vue.js – Getting error when I run npm run serve on Vue JS project
Here is the error I encountered:
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\USER\vuestarter-cli\package.json
npm ERR! errno -4058
npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open ‘C:\Users\USER\vuestarter-cli\package.json’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in: C:\Users\USER\AppData\Local\npm-cache_logs\2023-11-09T08_53_35_151Z-debug-0.log
I ran: npm config set ignore-scripts false
and then: npm run dev
but I still got the same error
Read more here: Source link
