When running npm start
, to start a react project I get the following messages on the terminal:
npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /Users/eraldomaia/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/Users/eraldomaia/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: npm ERR! /Users/eraldomaia/.npm/_logs/2020-02-29T15_23_08_741Z-debug.log
I do not know what to do!
How can I solve this?
vscode
when I opened terminal withctrl+~
. You needopen the terminal/npm start
from root folder – Prakash Reddy Potlapadu