安装vue-element-ui 的依赖包报错
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(富文本编辑器插件)更名造成的,现在已经更名为toast-ui/editor(以下第一步)
并且该插件还进行了文件名的更名(以下第二步)以及方法名的更名(以下第三步)

解决方案如下:
1.首先将package.json中的tui-editor那一行修改为"@toast-ui/editor": “^3.1.3”,

2.进入\src\components\MarkdownEditor\index.vue文件,将他的所有import删除换成下面四行
import ‘codemirror/lib/codemirror.css’
import ‘@toast-ui/editor/dist/toastui-editor.css’
import Editor from ‘@toast-ui/editor’
import defaultOptions from ‘./default-options’

3.把该页面(还是第二条中的文件)的getValue和setValue分别换成getMarkdown和setMarkdown
把页面中的所有tui-editor全部替换为@toast-ui/editor

4.保存文件,npm install 搞定

npm ERR /usr/bin/git ls-remote -h -t git://github.com/adobe-webplatform/eve.git相关推荐

  1. npm ERR D:\Program Files\Git\cmd\git.EXE ls-remote -h -t https://github.com/nhn/raphael.git

    问题描述 在npm install时出现以下问题: npm ERR! Error while executing: npm ERR! D:\Program Files\Git\cmd\git.EXE ...

  2. C:\Program Files\Git\cmd\git.EXE ls-remote -h -t https://github.com/nhn/raphael.git

    报错 npm ERR! Error while executing: npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t https:/ ...

  3. -bash: cd: /usr/bin/mysql:_linux下mysql的卸载、安装全过程amp;amp;mysql安装后bash:mysql:command not found...

    http://blog.sina.com.cn/s/blog_48d5933f0100ts7t.html 卸载mysql 1.查找以前是否装有mysql 命令:rpm -qa|grep -i mysq ...

  4. usr bin java快捷方式_/ usr / bin / sudo必须由uid 0拥有并设置setuid位

    我的Mac(El Capitan)上有usr / bin / sudo问题 . 我打开我的终端并得到: malloc:对象0x7fff38418900的错误:未释放指针被释放在malloc_error ...

  5. ES组件elasticsearch-head报错 npm ERR! Please include the following file with any support request

    环境Ubuntu 1.报错信息: npm ERR! Please include the following file with any support request: npm ERR! /usr/ ...

  6. 输入‘git push origin master‘不弹出账号密码输入框?(把本地Git中的代码push到Github中)

    注意:         Github从 2021 年 8 月 13 日开始,在 GitHub.com 上对 Git 操作进行身份验证时,将不再接受帐户密码,改用tokens验证. 点此查看官网公告   ...

  7. git使用的基本流程_这 7 个免费的 Git 教程,适合所有程序员

    作者:杰哥的IT之旅 转发链接:https://mp.weixin.qq.com/s/ikNS93rjpDTWSXBnzVWwhw 前言 你一定用过一些源码控制软件,例如CVS,SVN,VSS,DFS ...

  8. eclipse下使用git插件上传代码至github

    eclipse下使用git插件上传代码至github 1.eclipse下安装git 正常情况下,eclipse 是自带 git 插件的,那么即可跳至步骤1的最后一小步,配置 git . 如果十分悲剧 ...

  9. npm ERR Error while executing: npm ERR C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh://git@

    记录错误 npm ERR! Error while executing: npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t ssh:/ ...

最新文章

  1. Java 集合类图(转)
  2. CSS Sprites图片合并
  3. 数字转换英语c语言程序,c语言 把英文数字 例如 one hundred and eleven 转换位数字 111;怎样编写程序,要求1~1000内的英文数字...
  4. 给特殊类型的Note设置default值
  5. vue脚手架依赖包安装不成功_Windows下vue-cli的搭建
  6. 日志分析系统分类有哪些_什么是网站日志分析需要分析哪些内容
  7. Ubuntu 16.04 安装 Apache, MySQL, PHP7
  8. bearer token头_接口认证方式:Bearer Token
  9. Flask第十八篇 Flask-Migrate
  10. C语言库函数——string.h
  11. 记录使用浏览器扫码功能(pad 笔记本 手机)
  12. python教程系列(三.6.2、XML)
  13. 在中国程序员工作是青春饭吗?
  14. 比风水厉害100倍的宇宙规律,你懂多少?
  15. 车辆调度管理系统-设计分享
  16. codeforces1463 D. Pairs
  17. 虚幻引擎学习笔记——Month1 Week3
  18. 如何打造一款直播App(方法流程)
  19. Kotlin系列之集合和函数式API完全解析-上篇
  20. 多分类--dice acc计算

热门文章

  1. Python常用基础语法知识点大全
  2. TuShare Pro 股票期货数据提取神器(Python)
  3. java获取时间00:00:00和23:59:59
  4. web测试bug清单
  5. lcd12864使用c语言pic单片机,PIC单片机驱动LCD12864液晶显示闪动字体程序
  6. Android系统签名文件转换为keystore文件
  7. 【预测模型-ELM预测】基于蝙蝠算法优化极限学习机预测matlab代码
  8. Quartus调用ModelSim进行仿真的步骤
  9. TTL和CMOS电平
  10. 使用计算机打印汉字文档的是汉字,中职计算机应用基础习题集答案.doc