Reputation: 4033
Im really really new to node and im running into a few issues that i cant seem to solve.
Im trying to install a package but im getting the following errors returned
UNMET PEER DEPENDENCY @angular/[email protected]
UNMET PEER DEPENDENCY @angular/[email protected]
npm WARN [email protected] requires a peer of @angular/core@^2.0.0-rc.4 but none was installed.
npm WARN [email protected] requires a peer of @angular/http@^2.0.0-rc.4 but none was installed.
Im guessing that means that i currently have [email protected] and [email protected] and i need rc.4
How do i go about updating them?
Any help would be fantastic.
Thanks :)
Upvotes: 1
Views: 199
Reputation: 7621
Just change in you package manager ang run npm i
or add this to your dependencies
"dependencies": {
"dep1": "^1.1.1"
}
^ this will update the latest package for you with npm update
"@angular/common": "2.0.0-rc.4",
"@angular/compiler": "2.0.0-rc.4",
"@angular/core": "2.0.0-rc.4",
"@angular/forms": "0.2.0",
"@angular/http": "2.0.0-rc.4",
"@angular/platform-browser": "2.0.0-rc.4",
"@angular/platform-browser-dynamic": "2.0.0-rc.4",
Upvotes: 1