Open georgeneil opened 7 years ago
Make sure node is up to date. Update dependencies in package.json. npm install typings, then npm install
My node is latest and
npm install typings
gives me following error
$ npm install typings
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "typings"
npm ERR! node v4.2.4
npm ERR! npm v2.14.12
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package @angular/compiler@2.1.0 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer @angular/platform-browser-dynamic@2.1.0 wants @angular/compiler@2.1.0
npm ERR! peerinvalid Peer @angular/platform-server@2.1.0 wants @angular/compiler@2.1.0
npm ERR! peerinvalid Peer @angular/compiler-cli@0.6.4 wants @angular/compiler@2.0.2
My node is latest
The latest version of node is here
Besides that though, you're obviously mismatching angular 2 modules, their versions and their dependencies!
Just change the compiler-cli in the dev dependencies inside the package.json to something like:
"@angular/compiler-cli": "^2.1.0",
Also for some reason it wasnt happy until I made an asset folder in src with an empty .gitkeep file in it. Now it works, at least in JiT, for me.
I just noticed #22 , the new dependencies should fix the issues.
is failing with the following output