born2net / Angular-kitchen-sink

:rocket: Angular - learn by example
http://ng.javascriptninja.io
754 stars 146 forks source link

npm install typescript@next --save #25

Closed timobehrens closed 8 years ago

timobehrens commented 8 years ago

I came here to get a working angular 2 boilerplate because even when following the official tutorial it breaks because of dependency madness...

However, following your instruction on installing, I got these errors when doing npm install typescript@next --save:

ng2Boilerplater@0.6.0 /Users/timobehrens/Dev/angularjs/ng2Boilerplate
├── UNMET PEER DEPENDENCY rxjs@5.0.0-beta.10 invalid
└── UNMET PEER DEPENDENCY typescript@2.1.0-dev.20160724 invalid
npm WARN EPEERINVALID @angular/core@2.0.0-rc.4 requires a peer of rxjs@5.0.0-beta.6 but none was installed.
npm WARN EPEERINVALID @angular/http@2.0.0-rc.4 requires a peer of rxjs@5.0.0-beta.6 but none was installed.
npm WARN EPEERINVALID @angular/router@3.0.0-beta.2 requires a peer of rxjs@5.0.0-beta.6 but none was installed.
npm WARN EPEERINVALID angular2@2.0.0-beta.17 requires a peer of rxjs@5.0.0-beta.6 but none was installed.
npm WARN EPEERINVALID tslint@3.13.0 requires a peer of typescript@>=1.7.3 but none was installed.
npm ERR! code 1
born2net commented 8 years ago

just tried on a clean dir:

git clone https://github.com/born2net/ng2Boilerplate.git
cd ng2Boilerplate
npm install jspm -g
npm install

and worked fine for me... try and install typescript next globally first maybe

npm install typescript@next --save -g