reactjs - 如何解决我的反应项目中的 npmstart 命令错误?
问题描述
运行命令时出现如下错误npm start
。
PS C:\Users\user\Desktop> npm start
npm ERR! Missing script: "start"
npm ERR!
npm ERR! Did you mean one of these?
npm ERR! npm star # Mark your favorite packages
npm ERR! npm stars # View packages marked as favorites
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Local\npm-cache\_logs\2021-06-16T04_34_53_206Z-debug.log
PS C:\Users\user\Desktop>
解决方案
推荐阅读
- sqlite - SQLite 查询结果限制
- node.js - 使用 export.getRandomInt = getRandomInt 导出到另一个文件时,getRandomInt 不是函数
- c - 在C中初始化指向新函数的函数指针
- node.js - 错误类型错误:无法获取 - express js
- css -
- 带有 flex、自定义项目符号图标和粗体文本的标签
- javascript - Vue响应性从另一个对象监听不起作用
- python - 有没有在 spaCy 中打印出最相似句子的功能?
- loops - 如何在机器人框架中的定位器上逐个验证单词?
- arrays - 如何在C中打印数组中重复元素的数量
- python - 在 vim 中编写 python 程序时出现语法错误