首页 > 解决方案 > 如何解决我的反应项目中的 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>

标签: reactjsnpm

解决方案


推荐阅读