ng2-select icon indicating copy to clipboard operation
ng2-select copied to clipboard

angular 2.0.1 cant install dependences.

Open armandoramirezdino opened this issue 10 years ago • 5 comments

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.

armandoramirezdino avatar Oct 05 '16 23:10 armandoramirezdino

Same here. Can't update with angular 2.0.1

BartAllen avatar Oct 06 '16 07:10 BartAllen

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.

RoopeHakulinen avatar Oct 07 '16 07:10 RoopeHakulinen

Works fine for me with angular 2.0.1 despite the warning

Scipionh avatar Oct 10 '16 05:10 Scipionh

It depends on version of npm you have. Mine does not allow that. ^ is very easy fix.

MAW016 avatar Nov 04 '16 10:11 MAW016

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.

ssauriera avatar Dec 10 '16 18:12 ssauriera