vue-element-admin
vue-element-admin copied to clipboard
npm install 报错
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
github账号增加你本地电脑的ssh key,我是这么弄了之后就好了
绝了,开源项目,居然一安装就报错。
一样的错误不知道怎么解决
大佬如何解决
怎么解决的啊? 我github也增加了本地的ssh key ,还是不行
我也还没有解决
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 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: @.***>
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
我这里就能安装成功了
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()卡住也能这样解决,亲测有效!!!)
升级git版本可以吗??