网站首页 > 博客文章 正文
学习笔记,供学习参考
总结的不错的话,记得点赞收藏加关注哦!
- 错误描述
npm下载依赖报错
PS C:\Development\Workspace\ky\integral-mall-master\integral-admin-web> npm install
npm ERR! Exit handler never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://github.com/npm/cli/issues>
npm ERR! A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache\_logs\2024-09-24T01_46_17_888Z-debug-0.log
- 解决方案
第一个,使用程咬金,三板斧
删除下载好的node_modules
删除package-lock.json文件
清除npm缓存 npm cache clean --force
npm install
如果第一个不行,那就使用第二个,切换npm镜像,切到淘宝镜像
//查看镜像源
npm config get registry
//正常默认源:https://registry.npmjs.org/
猜你喜欢
- 2024-11-11 一个基于SpringBoot2的商城系统,拿去接私活是真的香(附源码)
- 2024-11-11 用jenkins构建部署前端vue系统,linux-x64-83_binding.node
- 2024-11-11 vue3源码学习--调试环境搭建(vue3调试工具)
- 2024-11-11 新电脑之-sourcetree&ssh &vscode&npm拉取远程vue代码并运行
- 2024-11-11 Hexo历险记之二多系统安装Node(hexo官网主题)
- 2024-11-11 智能合约_安装Web3J环境(智能合约图解)
- 2024-11-11 nvm报错解决:配置最新淘宝镜像源(nvm 淘宝镜像)
- 2024-11-11 NodejJS包管理工具(nodejs jar)
- 2024-11-11 小程序开发——Taro框架从入门到放弃
- 2024-11-11 集成并部署开源若依后台系统(微服务版)到腾讯云
你 发表评论:
欢迎- 最近发表
- 标签列表
-
- powershellfor (55)
- messagesource (56)
- aspose.pdf破解版 (56)
- promise.race (63)
- 2019cad序列号和密钥激活码 (62)
- window.performance (66)
- qt删除文件夹 (72)
- mysqlcaching_sha2_password (64)
- ubuntu升级gcc (58)
- nacos启动失败 (64)
- ssh-add (70)
- jwt漏洞 (58)
- macos14下载 (58)
- yarnnode (62)
- abstractqueuedsynchronizer (64)
- source~/.bashrc没有那个文件或目录 (65)
- springboot整合activiti工作流 (70)
- jmeter插件下载 (61)
- 抓包分析 (60)
- idea创建mavenweb项目 (65)
- vue回到顶部 (57)
- qcombobox样式表 (68)
- vue数组concat (56)
- tomcatundertow (58)
- pastemac (61)
本文暂时没有评论,来添加一个吧(●'◡'●)