我无法在终端中启动 NPM
P粉715304239
P粉715304239 2024-04-01 16:36:27
[React讨论组]

每当我在终端中运行命令来启动 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\_logs\2023-07-10T09_55_32_164Z-debug-0.log
PS C:\Users\SB\Desktop\react>

P粉715304239
P粉715304239

全部回复(1)
P粉495955986

将启动命令添加到包中的脚本对象中。创建 json 文件并在项目根目录中打开 shell 或 IDE,然后运行 ​​npm start 命令。

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号