[英]npm doesn't run correctly for react js
when I want to run my project on react this error appears...how to solve it?当我想在反应时运行我的项目时,会出现此错误...如何解决?
W:\Burgerapp>npm start
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path W:\Burgerapp\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'W:\Burgerapp\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\Polymer\AppData\Roaming\npm-cache\_logs\2020-08-11T13_03_57_137Z-debug.log ```
It seems that you are writing "npm start" in the wrong place because there is no "package.json" file in the directory.似乎你在错误的地方写了“npm start”,因为目录中没有“package.json”文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.