vue 项目放弃“tui-editor“: “1.3.3“,

从官网 https://github.com/PanJiaChen/vue-element-admin 下载的版本带有 tui-editor

版本1.3.3 ,在编译时会遇到如下问题:

error An unexpected error occurred: "https://github.com/sohee-lee7/Squire.git/info/refs?service=git-upload-pack: connect ETIMEDOUT 20.205.243.166:443".
info If you think this is a bug, please open a bug report with the information provided in "F:\\ep-clouds-II\\J2PaaS_client\\J2PaaS-TFC-pc_local\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Error: Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://github.com/nhn/raphael.git
Directory: F:\ep-clouds-II\J2PaaS_client\J2PaaS-TFC-pc_local
Output:
fatal: unable to access 'https://github.com/nhn/raphael.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
    at ProcessTermError.ExtendableBuiltin (D:\soft\nodejs\node_global\node_modules\yarn\lib\cli.js:721:66)
    at ProcessTermError.MessageError (D:\soft\nodejs\node_global\node_modules\yarn\lib\cli.js:750:123)
    at new ProcessTermError (D:\soft\nodejs\node_global\node_modules\yarn\lib\cli.js:790:113)
    at ChildProcess.<anonymous> (D:\soft\nodejs\node_global\node_modules\yarn\lib\cli.js:25783:17)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1048:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)

解决的办法是 去除package.json 的  tui-editor 配置项

运行 npm install

在手动安装 tui-editor 即可

然后运行 :npm install --save tui-editor

  • 6
    点赞
  • 20
    收藏
    觉得还不错? 一键收藏
  • 6
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值