I am new to AngularJS, I try to npm intall Angular-phonecat, I get error as below.
D:\home\angular-phonecat>node --version v0.10.8 D:\home\angular-phonecat>npm install npm http GET https://registry.npmjs.org/protractor npm http GET https://registry.npmjs.org/bower npm http GET https://registry.npmjs.org/http-server npm http GET https://registry.npmjs.org/shelljs npm http GET https://registry.npmjs.org/karma npm http 304 https://registry.npmjs.org/protractor npm http 304 https://registry.npmjs.org/shelljs npm http 304 https://registry.npmjs.org/http-server npm http 304 https://registry.npmjs.org/bower npm http 304 https://registry.npmjs.org/karma npm ERR! Error: No compatible version found: bower@'^1.3.1' npm ERR! Valid install targets: npm ERR! ["0.1.0","0.1.2","0.1.3","0.2.0","0.3.0","0.3.1","0.3.2","0.4.0","0.5.0","0.5.1","0.6.0","0.6.1","0.6.2","0.6.3","0.6 .4","0.6.5","0.6.6","0.6.7","0.6.8","0.7.0","0.7.1","0.8.0","0.8.1","0.8.2","0.8.3","0.8.4","0.8.5","0.8.6","0.9.0","0.9.1","0 .9.2","0.10.0","1.0.0","1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.1.2","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6" ,"1.2.7","1.2.8","1.3.0","1.3.1","1.3.2","1.3.3"] npm ERR! at installTargetsError (D:\tools\nodejs\node_modules\npm\lib\cache.js:709:10) npm ERR! at D:\tools\nodejs\node_modules\npm\lib\cache.js:631:10 npm ERR! at saved (D:\tools\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\get.js:138:7) npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR! <http://github.com/isaacs/npm/issues> npm ERR! or email it to: npm ERR! <[email protected]> npm ERR! System Windows_NT 6.1.7601 npm ERR! command "D:\\tools\\nodejs\\\\node.exe" "D:\\tools\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" npm ERR! cwd D:\home\angular-phonecat npm ERR! node -v v0.10.8 npm ERR! npm -v 1.2.23 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! D:\home\angular-phonecat\npm-debug.log npm ERR! not ok code 0 Could somebody advice how to fix it? Alfred On Wednesday, April 2, 2014 2:38:01 PM UTC-4, Nate Reed wrote: > > I'm running into a problem with the initial setup, on the "npm install" > command: > > Nates-MacBook-Pro-2:angular-phonecat nate$ npm install > npm http GET https://registry.npmjs.org/protractor > npm http GET https://registry.npmjs.org/karma > npm http GET https://registry.npmjs.org/shelljs > npm http GET https://registry.npmjs.org/http-server > npm http GET https://registry.npmjs.org/bower > npm http 304 https://registry.npmjs.org/protractor > npm http 304 https://registry.npmjs.org/shelljs > npm ERR! Error: No compatible version found: shelljs@'^0.2.6' > npm ERR! Valid install targets: > npm ERR! > ["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.0.9","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.0.1-alpha1","0.0.2-pre1","0.0.4-pre1","0.0.5-pre1","0.0.5-pre2","0.0.5-pre3","0.0.5-pre4","0.0.6-pre1","0.0.6-pre2"] > > .... > > Seems to have a problem with the version specification "^0.2.6." Changing > this to "0.2.6" (and updating all the package specifications similarly in > package.json) makes the install work, but it's not automatically invoking > bower install. Manually invoking "bower install" is not putting the > packages in the expected place (bower_components, which is not getting > created). > > I am running node 0.89. > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
