vue-element-admin icon indicating copy to clipboard operation
vue-element-admin copied to clipboard

npm install 报错

Open ThorSmallice opened this issue 2 years ago • 8 comments

npm ERR! Error while executing: npm ERR! D:\devsoft\Git\cmd\git.EXE ls-remote -h -t https://github.com/nhn/raphael.git npm ERR! npm ERR! fatal: unable to access 'https://github.com/nhn/raphael.git/': OpenSSL SSL_read: Connection was reset, errno 10054 npm ERR! npm ERR! exited with error code: 128

ThorSmallice avatar Nov 22 '21 16:11 ThorSmallice

github账号增加你本地电脑的ssh key,我是这么弄了之后就好了

Enerwen avatar Nov 27 '21 10:11 Enerwen

绝了,开源项目,居然一安装就报错。

chenbimo avatar Nov 30 '21 10:11 chenbimo

一样的错误不知道怎么解决

HellLiang avatar Jan 28 '22 08:01 HellLiang

大佬如何解决

WeiQiang5 avatar Mar 15 '22 14:03 WeiQiang5

怎么解决的啊? 我github也增加了本地的ssh key ,还是不行

smileajj avatar Mar 17 '22 06:03 smileajj

我也还没有解决

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年3月17日(星期四) 下午2:34 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [PanJiaChen/vue-element-admin] npm install 报错 (Issue #3871)

怎么解决的啊? 我github也增加了本地的ssh key ,还是不行

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

WeiQiang5 avatar Mar 17 '22 06:03 WeiQiang5

raphael 是 markdown 编辑器的依赖,可以先删除 markdown 相关内容,步骤如下: vue-element-admin\package.json 删除 "tui-editor": "1.3.3", vue-element-admin\src\components 删除 MarkdownEditor 文件夹 vue-element-admin\src\views\components-demo 删除 markdown.vue 文件 vue-element-admin\src\router\modules components.js 删除 {path: 'markdown',...}

npm cache clean --force npm install --registry=https://registry.npm.taobao.org

我这里就能安装成功了

smileajj avatar Mar 17 '22 09:03 smileajj

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 --registry=https://registry.npm.taobao.org (npm install 安装use String.prototype.padStart()卡住也能这样解决,亲测有效!!!)

cuishao23 avatar Sep 07 '22 05:09 cuishao23