每当我在终端中运行命令来启动 NPM 时,都会收到以下错误:
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\SB\AppData\Local\npm-cache\_logs23-07-10T09_55_32_164Z-debug-0.log PS C:\Users\SB\Desktop\react>
P粉4959559862024-04-02 09:37:58
将启动命令添加到包中的脚本对象中。创建 json 文件并在项目根目录中打开 shell 或 IDE,然后运行 npm start 命令。