Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello!
I am learning AngularJS with official's PhoneCat Tutorial App.
although from step-1 to step-6 is alright,
but when I run the step-7 ,it got error.

I type : npm start
C:\me\angular-phonecat>npm start



> angular-phonecat@0.0.0 prestart C:\me\angular-phonecat
> npm install

npm WARN package.json karma-chrome-launcher@0.1.4 No README data
-


> angular-phonecat@0.0.0 postinstall C:\me\angular-phonecat
> bower install

bower cached        git://github.com/angular/bower-angular-route.git#1.2.26
bower validate      1.2.26 against git://github.com/angular/bower-angular-route
git#~1.2.x
 git://github.com/angular/bower-angular.git#1.2.26
bower validate      1.2.26 against git://github.com/angular/bower-angular.git#1
2.26
bower cached        git://github.com/angular/bower-angular.git#1.2.23
bower validate      1.2.23 against git://github.com/angular/bower-angular.git#1
2.23
bower ECONFLICT    / Unable to find suitable version for angular

npm ERR! angular-phonecat@0.0.0 postinstall: `bower install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-phonecat@0.0.0 postinstall script.
npm ERR! This is most likely a problem with the angular-phonecat package,
 not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     bower install
npm ERR! You can get their info via:
npm ERR!     npm owner ls angular-phonecat
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\no
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd C:\me\angular-phonecat
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\me\angular-phonecat\npm-debug.log
npm ERR! not ok code 0

Can anyone help me?thx~
Posted
Comments
[no name] 13-Oct-14 14:45pm    
That website has available options for you to get help from them. It's their tutorial, you should be asking them about it.

1 solution

Use "angular:1.4.3" in the bower.json file instead of "angular:1.4.x".
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900