I have found a tutorial with exactly what i need.
I says that i need to install Angular2-jwt, but when i run npm install angular2-jwt i get the following errors
- firstname.lastname@example.org node_modules/angular2
- email@example.com node_modules/angular2-jwt/node_modules/reflect-metadata
- firstname.lastname@example.org node_modules/angular2-jwt/node_modules/rxjs
├── UNMET PEER DEPENDENCY @email@example.com
├── UNMET PEER DEPENDENCY @firstname.lastname@example.org
npm WARN email@example.com requires a peer of @angular/core@^2.0.0-rc.4 but none was installed.
npm WARN firstname.lastname@example.org requires a peer of @angular/http@^2.0.0-rc.4 but none was installed.
npm WARN myapp@ No repository field.
npm WARN myapp@ No license field.
I would really love to get this going, so any help at all would be greatly appreciated.
Or you could wait ionic beta.11 with rc4 or use the old version of angular2-jwt
I was having a similar error, updating all NPM packages with
npm update -G
seems to have solved it
Well that got rid of the email@example.com … But no luck with the firstname.lastname@example.org … Thanks for the tip anyhow … Does this upgrade the version of Ionic 2 as well?
Is there a release date for beta. 11 with rc4? … How do i tell what version i have?
Sadly, it updates only the global packages. Try finding the out of date packages with
And upgrading them one by one.
Yikes, that looks complex haha
But from what i can tell, run npm update then update the package.json with the new version number.
Is that about right?
You may have already
Beta 11 with Angular2 rc4 is out. Ionic 2 Beta 11
Upgrade instruction and code changes required are provided in change log…
Also you can check your package.json file. Version info for all dependencies are in this file.