为什么npm start在我的React应用上不能工作?

问题描述 投票:-1回答:1

我试图启动我的项目,当我运行:npm启动时,我得到以下错误。

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

我很感激任何帮助。

谢谢你的帮助。

reactjs
1个回答
-1
投票

你刚才有没有试过 npm i那么 npm启动. ?

© www.soinside.com 2019 - 2024. All rights reserved.