angular 2.0.1 cant install dependences.
Im trying to install ng2-select in angular 2.0.1, but it fails...
Anyone knows what change between versions?
UNMET PEER DEPENDENCY @angular/[email protected] ├── UNMET PEER DEPENDENCY @angular/[email protected] ├── UNMET PEER DEPENDENCY @angular/[email protected] ├── UNMET PEER DEPENDENCY @angular/[email protected] └── [email protected]
npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed. npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed. npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed. npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed.
Same here. Can't update with angular 2.0.1
That isn't a failure actually. It just tells that the peer dependency isn't met. You have 2.0.1, but this library explicitly states that 2.0.0 would be required. Everything still works as expected. The possible solution would be to add ^ on the @angular packages in package.json by the library maintainer. For now, just live with the warnings.
Works fine for me with angular 2.0.1 despite the warning
It depends on version of npm you have. Mine does not allow that. ^ is very easy fix.
I having same issue with angular 2.2.1.
├── UNMET PEER DEPENDENCY @angular/[email protected] ├── UNMET PEER DEPENDENCY @angular/[email protected] ├── UNMET PEER DEPENDENCY @angular/[email protected] └── UNMET PEER DEPENDENCY @angular/[email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed. npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed. npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed. npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed.
thanks for help.