npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:UsersUserDesktopmemories_projectpackage.json
npm ERR! errno -4058
npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open ‘C:UsersUserDesktopmemories_projectpackage.json’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
I tried npm start and i got these errors
3
Answers
Make sure that you are in the
directory
of the project, then runnpm install
and finally try to runnpm run start
.Check for
package.json
file exists in the current projectC:UsersUserDesktopmemories_project
;If it doesn’t exist, you need to create it
Try killing any process which might have opened the file package.json.
Have you opened the project and package.json from any code editor like VS code ? Close it.