码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • vue-element-admin npm install报错


    1. D:\java-work-1\wzf\qd\vue-element-admin-i18n>npm install
    2. npm ERR! code 128
    3. npm ERR! command failed
    4. npm ERR! command git ls-remote ssh://git@github.com/nhn/raphael.git
    5. npm ERR! Host key verification failed.
    6. npm ERR! fatal: Could not read from remote repository.
    7. npm ERR!
    8. npm ERR! Please make sure you have the correct access rights
    9. npm ERR! and the repository exists.
    10. npm ERR! A complete log of this run can be found in:
    11. npm ERR! C:\Users\hec\AppData\Local\npm-cache\_logs\2022-09-16T09_48_42_568Z-debug.log
    12. D:\java-work-1\wzf\qd\vue-element-admin-i18n>cnpm install
    13. - [25/56] Installing @babel/core@^7.11.0[npminstall:get] retry GET https://registry.npmmirror.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz after 100ms, retry left 4, ConnectTimeoutError: Connect Timeout Error, status: -1, headers: {}
    14. | [30/56] Installing to-regex@^3.0.1[tui-editor@1.3.3 › squire-rte@github:sohee-lee7/Squire#b1e0e1031fa18912d233c204cbe7c7fae4a42621] install squire-rte from git squire-rte@github:sohee-lee7/Squire#b1e0e1031fa18912d233c204cbe7c7fae4a42621, may be very slow, please keep patience
    15. - [32/56] Installing supports-color@^6.1.0[tui-editor@1.3.3 › tui-chart@3.11.3 › raphael@git+https://github.com/nhn/raphael.git#2.2.0-c] install raphael from git raphael@git+https://github.com/nhn/raphael.git#2.2.0-c, may be very slow, please keep patience
    16. × Install fail! Error: [tui-editor@1.3.3 › tui-chart@3.11.3 › raphael@git+https://github.com/nhn/raphael.git#2.2.0-c] An unknown git error occurred
    17. Error: [tui-editor@1.3.3 › tui-chart@3.11.3 › raphael@git+https://github.com/nhn/raphael.git#2.2.0-c] An unknown git error occurred

    解决方案:

    1. vue-element-admin\package.json 删除 "tui-editor": "1.3.3",
    2. vue-element-admin\src\components 删除 MarkdownEditor 文件夹
    3. vue-element-admin\src\views\components-demo 删除 markdown.vue 文件
    4. vue-element-admin\src\router\modules components.js 删除 {path: 'markdown',...}
    5. # npm cache clean --force
    6. # npm install cnpm
    7. # npm install core-js@3 --save
    8. # cnpm install cross-env
    9. # 以上四个可以忽略

  • 相关阅读:
    TDengine服务器端启动失败问题(客户端连接失败问题)
    【计算机网络微课堂】5.8 TCP的运输连接管理
    影视解说短视频如何配音?三个文字转语音小技巧,配音其实也不难
    【办公类-21-04】20240227单个word按“段落数”拆分多个Word(三级育婴师操作参考题目 有段落文字和表格 1拆13份)
    LeetCode题练习与总结:设计推特--355
    算法题day46(补6.1日卡:动态规划06)
    033-使用UIManager设置组件外观界面,适应不同操作系统
    [ Linux ] Linux调试器--gdb使用
    Python读取NC格式数据绘制风场和涡度图
    MATLAB 匿名函数
  • 原文地址:https://blog.csdn.net/benxiaohai529/article/details/126895345
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号