npm install access denied error on ssh git repo - windows7 -
i trying developer run npm install
on windows machine getting access denied error 1 of private project dependencies in package.json
. project cloned 1 coming on same domain , in same project in stash.
1222 silly lockfile 836362be-che-generator-cuff-0-0-1-package tar://c:\users\knzn\appdata\roaming\npm-cache\generator-cuff\0.0.1\package 1223 silly lockfile 836362be-che-generator-cuff-0-0-1-package tar://c:\users\knzn\appdata\roaming\npm-cache\generator-cuff\0.0.1\package 1224 silly lockfile 47037b47-generator-cuff-0-0-1-package-tgz tar://c:\users\knzn\appdata\roaming\npm-cache\generator-cuff\0.0.1\package.tgz 1225 silly lockfile 47037b47-generator-cuff-0-0-1-package-tgz tar://c:\users\knzn\appdata\roaming\npm-cache\generator-cuff\0.0.1\package.tgz 1226 verbose chmod c:\users\knzn\appdata\roaming\npm-cache\generator-cuff\0.0.1\package.tgz 644 1227 silly chown skipping windows c:\users\knzn\appdata\roaming\npm-cache\generator-cuff\0.0.1\package.tgz 1228 silly lockfile 9e23d6fc-net-7999-chui-generator-cuff-git ssh://git@domain:port/project/generator-cuff.git 1229 silly lockfile 9e23d6fc-net-7999-chui-generator-cuff-git ssh://git@domain:port/project/generator-cuff.git 1230 error git fetch -a origin (ssh://git@domain:port/project/grunt-cuff.git) permission denied (publickey). 1230 error git fetch -a origin (ssh://git@domain:port/project/grunt-cuff.git) fatal: not read remote repository. 1230 error git fetch -a origin (ssh://git@domain:port/project/grunt-cuff.git) 1230 error git fetch -a origin (ssh://git@domain:port/project/grunt-cuff.git) please make sure have correct access rights 1230 error git fetch -a origin (ssh://git@domain:port/project/grunt-cuff.git) , repository exists. 1231 silly lockfile 16f0d96e-ter-net-7999-chui-grunt-cuff-git ssh://git@domain:port/project/grunt-cuff.git 1232 silly lockfile 16f0d96e-ter-net-7999-chui-grunt-cuff-git ssh://git@domain:port/project/grunt-cuff.git 1233 error error: command failed: permission denied (publickey). 1233 error fatal: not read remote repository. 1233 error 1233 error please make sure have correct access rights 1233 error , repository exists. 1233 error 1233 error @ childprocess.exithandler (child_process.js:637:15) 1233 error @ childprocess.eventemitter.emit (events.js:98:17) 1233 error @ maybeclose (child_process.js:743:16) 1233 error @ socket.<anonymous> (child_process.js:956:11) 1233 error @ socket.eventemitter.emit (events.js:95:17) 1233 error @ pipe.close (net.js:465:12) 1234 error if need help, may report *entire* log, 1234 error including npm , node versions, at: 1234 error <http://github.com/npm/npm/issues> 1235 error system windows_nt 6.1.7601 1236 error command "c:\\program files\\nodejs\\\\node.exe" "c:\\program files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--verbose" 1237 error cwd c:\users\knzn\workspace\my-project.net\repo\project 1238 error node -v v0.10.26 1239 error npm -v 1.4.3 1240 error code 128
i on osx , have no problems. since other developer remote, decided test myself on fresh windows7-64bit laptop had @ work , see if reproduce , solve. using stash, , private repo can clone on own.
> git clone ssh://git@domain:port/project/generator-cuff.git cloning 'generator-cuff'... enter passphrase key '/c/users/knzn/.ssh/id_rsa': remote: counting objects: 86, done. remote: compressing objects: 100% (81/81), done. remote: total 86 (delta 29), reused 0 (delta 0) receiving objects: 100% (86/86), 56.00 kib | 35.00 kib/s, done. resolving deltas: 100% (29/29), done. checking connectivity... done.
any thoughts?
i using
> ssh -v openssh_3.8.1p1, openssl 0.9.7d 17 mar 2004 > git --version git version 1.9.0.msysgit.0
npm info in above logs
thanks in advance.
edit: other developer able around issue generating new ssh key without passphrase, contrary instructions atlassian provides creating ssh keys, maybe leads being more of stash issue then.
atlassian confirmed solution indeed create ssh key in windows without passphrase. seems issue may more npm.
Comments
Post a Comment