运行 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: /Users/name/.npm/_logs/2024-03-28T20_55_38_798Z-debug-0.log
我尝试了以下解决方案,但都不起作用:
https://sebhastian.com/npm-err-missing-script-start/ 您可以通过此链接找到答案。