这与npm无法找到文件有关。我正在尝试运行一个React Native项目,但是我收到了这个错误

时间:2020-04-30 11:07:30

标签: react-native npm

我是一位反应灵敏的初学者。尝试运行RN项目时出现此错误。

C:\Users\Devesh Shukla\Documents\[FreeCourseSite.com] Udemy - The Complete React Native + Hooks Course [2020 Edition]\1. Getting Started\3.1 rn-starter>npm start
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\Devesh Shukla\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\Devesh Shukla\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\Devesh Shukla\AppData\Roaming\npm-cache\_logs\2020-04-30T11_00_57_103Z-debug.log

C:\Users\Devesh Shukla\Documents\[FreeCourseSite.com] Udemy - The Complete React Native + Hooks Course [2020 Edition]\1. Getting Started\3.1 rn-starter>

我刚运行npm start,但出现此错误。

PS:我已经更新了npm。

0 个答案:

没有答案