Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install时tui-editor拉取git仓库报权限错误 #3887

Open
rockm3 opened this issue Dec 9, 2021 · 1 comment
Open

npm install时tui-editor拉取git仓库报权限错误 #3887

rockm3 opened this issue Dec 9, 2021 · 1 comment

Comments

@rockm3
Copy link

rockm3 commented Dec 9, 2021

Bug report(问题描述)

我使用npm install --registry=https://registry.npm.taobao.org安装依赖。
npm报错

npm ERR! code 128
npm ERR! command failed
npm ERR! command git ls-remote ssh://git@github.com/nhn/raphael.git
npm ERR! git@github.com: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

经排查是tui-editor的问题
删除tui-editor后依赖安装正常
npm install -S tui-editor安装依赖也正常

Steps to reproduce(问题复现步骤)

  1. npm install --registry=https://registry.npm.taobao.org
  2. 删除package.json中的tui-editor
  3. npm install --registry=https://registry.npm.taobao.org
  4. 安装成功
  5. 手动安装npm install -S tui-editor
  6. 安装成功

Screenshot or Gif(截图或动态图)

安装成功:
image
失败截图:
image

Link to minimal reproduction(最小可在线还原demo)

https://github.com/PanJiaChen/vue-element-admin

Other relevant information(格外信息)

  • Your OS:
  • Node.js version:
  • vue-element-admin version:
@jojinshallar
Copy link

单独安装tui-editor时,还是一直报128的错误码,最后通过运行start-ssh-agent.cmd后解决。
#3491

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants