当前位置:网站首页>安装tui-editor失败,快速解决方案
安装tui-editor失败,快速解决方案
2022-04-23 06:18:00 【flym_】
问题描述:
最近接手了一个老项目,在安装依赖包的时候报错无法,由于某一个依赖包的原因导致依赖包无法安装。
npm install 出错
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t git://github.com/adobe-webplatform/eve.git
npm ERR!
npm ERR! fatal: remote error:
npm ERR! The unauthenticated git protocol on port 9418 is no longer supported.
npm ERR! Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
npm ERR!
npm ERR! exited with error code: 128
问题原因:
通过一个个的包安装,最好发现是tui-editor这个包的原因导致报的错,报错的主要原因还是因为这个包更新,之前这个包的相关依赖是无法安装又或者是墙内的原因导致的。
解决方法:
第一个方法: 可以通过别的同事,将node_modules这个文件夹全部移过来,好了,迅速解决了当前问题。
第二个方法: 找到项目中的package-lock.json文件,在文件内找到tui-editor这个包的相关信息并替换,然后再重新npm i一下,
"tui-editor": {
"version": "1.4.10",
"resolved": "https://registry.npm.taobao.org/tui-editor/download/tui-editor-1.4.10.tgz",
"integrity": "sha1-xprBWEL4GSdIV/GEMA0k8KXtZxc=",
"requires": {
"@types/codemirror": "0.0.71",
"@types/jquery": "^3.3.29",
"@types/markdown-it": "0.0.7",
"codemirror": "^5.48.4",
"highlight.js": "^9.12.0",
"jquery": "^3.3.1",
"markdown-it": "^9.0.0",
"plantuml-encoder": "^1.2.5",
"resize-observer-polyfill": "^1.5.0",
"squire-rte": "github:seonim-ryu/Squire#fb6cd9b1ac66ca471ded83637523c4fbf7072f86",
"to-mark": "^1.1.9",
"tui-chart": "^3.7.0",
"tui-code-snippet": "^1.5.0",
"tui-color-picker": "^2.2.1"
}
},
版权声明
本文为[flym_]所创,转载请带上原文链接,感谢
https://blog.csdn.net/u014689760/article/details/124317653
边栏推荐
- 字节数仓实习生面试sql题
- AUTOSAR从入门到精通100讲(八十四)-UDS之时间参数总结篇
- 无盲区、长续航|公专融合对讲机如何提升酒店服务效率?
- AUTOSAR从入门到精通100讲(五十二)-诊断和通信管理功能单元
- Solution of self Networking Wireless Communication intercom system in Beifeng oil and gas field
- van-uploader上传图片实现过程、使用原生input实现上传图片
- 《Multi-modal Visual Tracking:Review and Experimental Comparison》翻译
- 机器视觉系列(02)---TensorFlow2.3 + win10 + GPU安装
- golang实现正则匹配:密码包含至少一位数字,字母和特殊字符,且长度8-16
- 基于51单片机的体脂检测系统设计(51+oled+hx711+us100)
猜你喜欢
DMR system solution of Kaiyuan MINGTING hotel of Fengqiao University
使用compressorjs压缩图片,优化功能,压缩所有格式的图片
Beifeng communication helps Zhanjiang fire brigade build PDT wireless communication system
可视化常见绘图(五)散点图
How to improve the service efficiency of the hotel without blind spots and long endurance | public and Private Integrated walkie talkie?
Solution of self Networking Wireless Communication intercom system in Beifeng oil and gas field
南方投资大厦SDC智能通信巡更管理系统
枫桥学院开元名庭酒店DMR系统解决方案
PC端一次启动多个微信
# 可视化常见绘图(二)折线图
随机推荐
Gather, unsqueeze and other operators when PTH is converted to onnx
美摄科技推出桌面端专业视频编辑解决方案——美映PC版
城市应急管理|城市突发事故应急通信指挥调度系统
AUTOSAR从入门到精通100讲(八十三)-BootLoader自我刷新
PyTorch 14. Module class
x86架构初探之8086
Solution of emergency communication system for major security incidents
el-date-picker中自定义快捷选项picker-options,动态设置禁用日期
quill-editor图片缩放、在一个页面使用多个富文本框、quill-editor上传图片地址为服务器地址
Detailed explanation of device tree
enforce fail at inline_ container. cc:222
连接orcale
广西电网|应急空天一体化通信系统方案
AUTOSAR从入门到精通100讲(五十一)-AUTOSAR网络管理
可视化常见绘图(五)散点图
Are realrange and einsum really elegant
Proteus 8.10安装问题(亲测稳定不闪退!)
海南凤凰机场智能通信解决方案
go iris框架实现多服务Demo:通过(监听8083端口的)服务1中的接口启动(监听8084端口的)服务2
基于51单片机的温湿度监测+定时报警系统(c51源码)