当前位置:网站首页>npm ERR! fatal: early EOF npm ERR! fatal: index-pack failed
npm ERR! fatal: early EOF npm ERR! fatal: index-pack failed
2022-06-29 19:19:00 【Youmans_station】
npm ERR! fatal: early EOF
npm ERR! fatal: index-pack failed
报错:
npm ERR! code 128
npm ERR! Command failed: git clone --mirror -q git://github.com/adobe-webplatform/eve.git C:\Users\Administrator\AppData\Roaming\npm-cache_cacache\tmp\git-clone-797862b9.git --config core.longpaths=truenpm ERR! warning: templates not found in C:\Users\ADMINI~1\AppData\Local\Temp\pacote-git-template-tmp\git-clone-1a4f4511
npm ERR! fatal: unable to access ‘https://github.com/adobe-webplatform/eve.git/’: OpenSSL SSL_read: Connection was reset, errno 10054
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2022-06-27T22_54_17_376Z-debug.log
网上搜索问题是因为Node环境从8到10后才出现这种情况,解决办法是执行
删除pakage-lock.json .github文件夹 node_modules文件夹
重新 npm install
npm rebuild node-sass
如果这样报错失败的话,再执行:
npm uninstall -s node-sass
npm install -s node-sass
就是直接删除node-sass包后再重新install
对于一些老项目的话可能有些包的依赖版本发生变化,可以执行下面代码修复一下。
`npm audit fix
边栏推荐
- 微信推出图片大爆炸功能;苹果自研 5G 芯片或已失败;微软解决导致 Edge 停止响应的 bug|极客头条
- Advanced features of selenium webdriver
- 76. nearest common ancestor of binary tree
- 七牛图片访问参数(缩略图小尺寸啥的,避免浪费流量)
- C语言数组专题训练
- AI场景存储优化:云知声超算平台基于 JuiceFS 的存储实践
- Escape and March, the "two-sided Jianghu" of temporary food
- Seven cattle image access parameters (thumbnails are small in size to avoid wasting traffic)
- Rejected by a large company? Tencent experts summarized 11 reasons for being rejected!
- Canonical engineers are trying to solve the performance problem of Firefox snap
猜你喜欢
KDD 2022 | characterization alignment and uniformity are considered in collaborative filtering
JVM(4) 字节码技术+运行期优化
Advanced features of selenium webdriver
Unittest unit test framework
物理验证LVS流程和技术点滴(上)
程序员值得收藏的几款代码截图美化工具播
Inception 新结构 | 究竟卷积与Transformer如何结合才是最优的?
Who took advantage of the chaos and looted in Tiktok Wenwan?
建立自己的网站(12)
3-2主机发现-三层发现
随机推荐
STM32CubeMX 学习(6)外部中断实验
The sales volume could not catch up with the speed of taking money. Weima went to Hong Kong for emergency rescue
74. maximum profit on shares
Installation and configuration of MariaDB
【笔记】再笔记--边干边学Verilog HDL – 014
暴力解决《猜名次》问题
自动获取本地连接及网络地址修改
高能直播,大咖云集!邀你共启BizDevOps探索之路。
JVM(3) 类加载
Page object and data driven test
终于,进亚马逊了~
Wechat launched the picture big bang function; Apple's self-developed 5g chip may have failed; Microsoft solves the bug that causes edge to stop responding | geek headlines
Several code screenshots beautification tools worth collecting by programmers
Cantata 9.5版本已正式通过SGS-TÜV认证,符合所有主要软件安全标准
Product axure9 (English version), repeater implements addition, deletion, query and modification of table contents (crud)
JVM(4) 字节码技术+运行期优化
@SneakyThrows注解
Cross browser testing of selenium
【软件测试】01 -- 软件生命周期、软件开发模型
SQL Server Backup and restore command operations