phonecat setup instructions seems to be out of date #13623
Description
First of all, I am a Visual Studio / .NET MVC / jQuery / Chrome developer and I am new to node and npm and git.
I want and need to learn to develop with angularjs and I have the patience to dig in and succeed but the phonecat application set up instructions are not working for me.
Initially, I am having problems setting up phonecat. I cannot run git due to certificate problem:
C:\WebProjects>git clone --depth=14 https://github.com/angular/angular-phonecat.git
Cloning into 'angular-phonecat'...
fatal: unable to access 'https://github.com/angular/angular-phonecat.git/': SSL certificate problem: self signed certificate in certificate chain
My workaround, in which I have little confidence, except that it did download a lot of files including the package.json:
C:\WebProjects>git -c http.sslVerify=false clone --depth=14 https://github.com/angular/angular-phonecat.git
Then npm failed, looking for python which I do not have and is not mentioned as a prerequisite in the instructions.
I got a lot of messages about the wrong versions. The warnings are unnecessary because I have much newer versions than these very old instructions.
C:\WebProjects\angular-phonecat>npm installnpm WARN engine karma@0.12.37: wanted: {"node":">=0.8 <=0.12 || >=1 <=2"} (current: {"node":"4.2.3","npm":"2.14.7"})
Why is this code so old that it is looking for version 0.x and I have version 4.x?
Had the same warnings with node looking for version 0.x and I have 4.x.
angular-phonecat@0.0.0 postinstall C:\WebProjects\angular-phonecat
bower install
bower SELF_SIGNED_CERT_IN_CHAIN Request to https://bower.herokuapp.com/packages/jquery failed: self signed certificate in certificate chain
I received a bunch of errors like this and I feel discouraged and I am not going to continue with the phonecat tutorial.
Not being experienced with node and npm and python this is surprising, confusing and disappointing.
It makes me think that the phonecat sample app is too old to bother with. Please either update phonecat or replace it.
I am not having a good user experience setting up phonecat with these challenges.
I wish someone would test these instructions and update them.
Sincerely, Joe Kahl