我不能运行我的项目,上面写着:
christian@MacBook-Air-di-christian React Fito-v1.0-01-11月-2021% npm启动npm错误!缺少脚本:“开始”npm错误!npm错误!你是说其中的一个吗?npm错误!npm明星#标记你最喜欢的软件包npm错误!npm星#查看软件包标记为收藏npm错误!npm错误!要查看脚本列表,请运行: npm!npm运行npm错误!此运行的完整日志可在以下..
我的package.json脚本是:
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},发布于 2022-10-26 08:21:40
我的代码中也有类似的错误。我只是放错文件夹了。您必须输入包含所有包的文件夹才能运行npm命令。
https://stackoverflow.com/questions/70533214
复制相似问题