当前位置:网站首页>安装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
边栏推荐
- PyTorch 10. Learning rate
- 记录阿里云服务器挖矿程序处理
- 免费开源充电桩物联网云平台
- Detailed explanation of unwind stack backtracking
- 使用compressorjs压缩图片,优化功能,压缩所有格式的图片
- PyTorch 17. GPU concurrency
- Warning "force fallback to CPU execution for node: gather_191" in onnxruntime GPU 1.7
- 广西电网|应急空天一体化通信系统方案
- 传输层重要知识(面试,复试,期末)
- 基于openmv的无人机Apriltag动态追踪降落完整项目资料(labview+openmv+apriltag+正点原子四轴)
猜你喜欢

记录一下使用v-print中遇到的问题

自组网灵活补盲|北峰油气田勘测解决方案

可视化之路(十一)matplotlib颜色详解

Jupyter Notebook 安装

Detailed explanation of unwind stack backtracking

van-uploader上传图片实现过程、使用原生input实现上传图片

AUTOSAR从入门到精通100讲(五十二)-诊断和通信管理功能单元

Solution of emergency communication system for major security incidents

excel实战应用案例100讲(八)-Excel的报表连接功能

Draw margin curve in arcface
随机推荐
带您遨游太空,美摄科技为航天创意小程序提供全面技术支持
吴恩达编程作业——Logistic Regression with a Neural Network mindset
go语言:在函数间传递切片
STM32多路测温无线传输报警系统设计(工业定时测温/机舱温度定时检测等)
记录一下使用v-print中遇到的问题
The people of Beifeng have been taking action
AUTOSAR从入门到精通100讲(五十二)-诊断和通信管理功能单元
PyTorch 17. GPU concurrency
Jiangning hospital DMR system solution
按需引入vant组件
Hanlp分词器(通过spark)
各类日期转化的utils
Error in multi machine and multi card training
【无标题】制作一个0-99的计数器,P1.7接按键,P2接数码管段,共阳极数码管,P3.0,P3.1接数码管位码,每按一次键,数码管显示加一。请写出单片机的C51代码
golang实现MD5,SHA256,bcrypt加密
地铁无线对讲系统
PyTorch 18. torch. backends. cudnn
机器视觉系列(02)---TensorFlow2.3 + win10 + GPU安装
关于短视频平台框架搭建与技术选型探讨
商业版阿里MQ普通消息发送订阅Demo