简体   繁体   English

无法在 ReactJS 中运行“npm start”

[英]Can not run “ npm start ” in ReactJS

I have a problem when I run my ReactJS project.我在运行 ReactJS 项目时遇到问题。 It shows for me like this它对我来说是这样的在此处输入图像描述

Although I already install npm install i , it also show me that error, can anyone help me with this, Please?虽然我已经安装npm install i ,但它也显示了这个错误,谁能帮我解决这个问题,好吗? Thank you so much.太感谢了。

You should run npm start from the directory where package.json is located.您应该从package.json所在的目录开始运行 npm。 You might need to cd into that directory您可能需要 cd 进入该目录

npm install i

Is giving error because there is no such package as i therefore if you are trying to install the packages in your package.json file use- npm i or npm install Is giving error because there is no such package as i therefore if you are trying to install the packages in your package.json file use- npm i or npm install

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM