设置反应商务中的主机密钥验证失败

时间:2016-09-28 08:29:39

标签: node.js git bash github ssh

我想尝试设置Reaction Commerce reaction-doc。当我运行reaction init时,安装NPM软件包时会发生NPM错误。

5868 verbose stack Error: Command failed: git -c core.longpaths=true clone --template=C:\Users\..\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:ongoworks/node-authorize-net.git C:\Users\..\AppData\Roaming\npm-cache\_git-remotes\git-github-com-ongoworks-node-authorize-net-git-e88b3c4b
5868 verbose stack Cloning into bare repository 'C:\Users\...\AppData\Roaming\npm-cache\_git-remotes\git-github-com-ongoworks-node-authorize-net-git-e88b3c4b'...
5868 verbose stack Host key verification failed.
5868 verbose stack fatal: Could not read from remote repository.
5868 verbose stack
5868 verbose stack Please make sure you have the correct access rights
5868 verbose stack and the repository exists.
5868 verbose stack
5868 verbose stack     at ChildProcess.exithandler (child_process.js:213:12)
5868 verbose stack     at emitTwo (events.js:87:13)
5868 verbose stack     at ChildProcess.emit (events.js:172:7)
5868 verbose stack     at maybeClose (internal/child_process.js:829:16)
5868 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
5869 verbose cwd C:\Users\...\reaction
5870 error Windows_NT 6.1.7600
5871 error argv "C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.1_1\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe" "C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.1_1\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js" "install"
5872 error node v4.5.0
5873 error npm  v3.10.6
5874 error code 128
5875 error Command failed: git -c core.longpaths=true clone --template=C:\Users\...\AppData\Roaming\npm-cache\_git-remotes\_templates --mirror git@github.com:ongoworks/node-authorize-net.git C:\Users\...\AppData\Roaming\npm-cache\_git-remotes\git-github-com-ongoworks-node-authorize-net-git-e88b3c4b
5875 error Cloning into bare repository 'C:\Users\...\AppData\Roaming\npm-cache\_git-remotes\git-github-com-ongoworks-node-authorize-net-git-e88b3c4b'...
5875 error Host key verification failed.
5875 error fatal: Could not read from remote repository.
5875 error
5875 error Please make sure you have the correct access rights
5875 error and the repository exists.
5876 error If you need help, you may report this error at:
5876 error     <https://github.com/npm/npm/issues>
5877 verbose exit [ 1, true ]

我找到了Host key verification failedPlease make sure you have the correct access rights。我已在ssh key帐户中创建了github。我可以从Git Bash命令(ssh -T git@github.com)成功登录。

special access key我需要reaction commerce吗?我很困惑这个问题是反应中的git bash配置问题或密钥验证问题。我没有bit bash命令的经验。

0 个答案:

没有答案