0
点赞
收藏
分享

微信扫一扫

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

一点读书 2022-03-11 阅读 127

从官网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-IIJ2PaaS_clientJ2PaaS-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
odejs
ode_global
ode_modulesyarnlibcli.js:721:66)
    at ProcessTermError.MessageError (D:soft
odejs
ode_global
ode_modulesyarnlibcli.js:750:123)
    at new ProcessTermError (D:soft
odejs
ode_global
ode_modulesyarnlibcli.js:790:113)
    at ChildProcess.<anonymous> (D:soft
odejs
ode_global
ode_modulesyarnlibcli.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

举报

相关推荐

0 条评论