扫码关注官方订阅号
在webstorm中的terminal中用npm install mongoose --save下载mongoose,报错,求大神解决一下
这个问题和 WebStorm 没关系,是你的 npm 配置的事儿。
建议在系统命令行里弄:翻过墙了就先执行 npm set registry https://registry.npmjs.org/如果在墙内,就把后面的地址换成 cnpm 之类的镜像
npm set registry https://registry.npmjs.org/
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
这个问题和 WebStorm 没关系,是你的 npm 配置的事儿。
建议在系统命令行里弄:
翻过墙了就先执行
npm set registry https://registry.npmjs.org/如果在墙内,就把后面的地址换成 cnpm 之类的镜像