node.js - NPM install from Github, ambiguous argument -


i trying install private github repo. first 3 private repositories install fine. final 1 errors out error shown below. have permission access, pull from, , push repo. have tried removing version number same error "ambiguous argument 'master'." other 3 repositories have same format install command.

ps c:\users\shutez\documents\simple emotion\code\sedemo.tk> npm install git+ssh://git@github.com:simpleemotion/node-call -analytics.git#0.4.1 npm err! failed resolving git head (git@github.com:simpleemotion/node-call-analytics.git) fatal: ambiguous argument '0.4 .1': unknown revision or path not in working tree. npm err! failed resolving git head (git@github.com:simpleemotion/node-call-analytics.git) use '--' separate paths fro m revisions, this: npm err! failed resolving git head (git@github.com:simpleemotion/node-call-analytics.git) 'git <command> [<revision>...]  -- [<file>...]' npm err! failed resolving git head (git@github.com:simpleemotion/node-call-analytics.git) npm err! error: command failed: fatal: ambiguous argument '0.4.1': unknown revision or path not in working tree. npm err! use '--' separate paths revisions, this: npm err! 'git <command> [<revision>...] -- [<file>...]' npm err! npm err!     @ childprocess.exithandler (child_process.js:647:15) npm err!     @ childprocess.eventemitter.emit (events.js:98:17) npm err!     @ maybeclose (child_process.js:753:16) npm err!     @ process.childprocess._handle.onexit (child_process.js:820:5) npm err! if need help, may report *entire* log, npm err! including npm , node versions, at: npm err!     <http://github.com/npm/npm/issues>  npm err! system windows_nt 6.1.7601 npm err! command "c:\\program files\\nodejs\\\\node.exe" "c:\\program files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"  "install" "git+ssh://git@github.com:simpleemotion/node-call-analytics.git#0.4.1" npm err! cwd c:\users\shutez\documents\simple emotion\code\sedemo.tk npm err! node -v v0.10.28 npm err! npm -v 1.4.9 npm err! code 128 npm err! npm err! additional logging details can found in: npm err!     c:\users\shutez\documents\simple emotion\code\sedemo.tk\npm-debug.log npm err! not ok code 0 

your fix simple.

$ npm update -g npm

your npm out of date. log says you're using 1.4.9 , latest version 2.11.0.

cheers!


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -