Reactjs 为什么npm start在我的React应用程序上不起作用?

Reactjs 为什么npm start在我的React应用程序上不起作用?,reactjs,Reactjs,我正在尝试启动我的项目,当我运行:npm start时,出现以下错误: npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\albat\package.json npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\albat\package.json' npm ERR! enoent This i

我正在尝试启动我的项目,当我运行:npm start时,出现以下错误:

npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\albat\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\albat\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!     C:\Users\albat\AppData\Roaming\npm-cache\_logs\2020-05-10T12_44_42_310Z-debug.log
谢谢你的帮助


谢谢。

您刚才是不是尝试了npm i,然后npm启动了

阅读错误消息:
没有这样的文件或目录,请打开“C:\Users\albat\package.json”
。更改为package.json所在的目录