microsoft/TypeScriptSamples

Angular2 todo project npm error

grigala opened this issue · 5 comments

What's wrong with angular2 project?

npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.2.1
npm ERR! npm  v3.9.3

npm ERR! Invalid name: "@reactivex/rxjs"
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

I'm not sure, how exactly did you get that error? That sample needs to be updated anyhow.

It's showing up after npm install. I think it's an Angular2 versioning issue tho.

In package.json file there is "angular2": "2.0.0-alpha.44" I've changed it to "angular2": "2.0.0-beta.14" and it worked. But still I think it would be much better to use @angular/* notation instead of angular2, i.e. "@angular/core": "2.0.0-rc.1"

Yes, we need to update it to use the newest version of Angular.

Let me know if you'd like to send a PR (so I don't end up working on it at the same time), as we'd appreciate any help. 😃

Ok. Let me check one more time if everything works properly and I'll send PR for this particular project.