material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

Npm install fails

Open timuric opened this issue 11 years ago • 42 comments

React-tap-event-plugin requires higher version of react. npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer [email protected] wants [email protected] npm ERR! peerinvalid Peer [email protected] wants react@^0.14.0-0 npm ERR! peerinvalid Peer [email protected] wants react@>=0.13

timuric avatar Sep 24 '15 08:09 timuric

See https://github.com/zilverline/react-tap-event-plugin/issues/38.

oliviertassinari avatar Sep 24 '15 08:09 oliviertassinari

@oliviertassinari That doesn't help since the dependency is in material-ui is react-tap-event-plugin": ">=0.1.3

Which would go up to 0.2.0

npm ERR! peerinvalid Peer [email protected] wants react@^0.14.0-0

timuric avatar Sep 24 '15 12:09 timuric

am getting this.

npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer [email protected] wants react@>=0.13 npm ERR! peerinvalid Peer [email protected] wants react@^0.14.0-0

payner35 avatar Sep 24 '15 14:09 payner35

@payner35 there is a pull request to fix this issue #1714

timuric avatar Sep 24 '15 14:09 timuric

great... thanks.

payner35 avatar Sep 24 '15 15:09 payner35

got the same erorr

tmiyamon avatar Sep 24 '15 15:09 tmiyamon

@shaurya947 Can you have a look? I think that a quickfix is needed here.

oliviertassinari avatar Sep 24 '15 16:09 oliviertassinari

I've merged #1714. The error should go away now. Thanks @oliviertassinari!

shaurya947 avatar Sep 24 '15 16:09 shaurya947

Your welcome. You gonna have to publish a 0.11.2 with the fix.

oliviertassinari avatar Sep 24 '15 16:09 oliviertassinari

Yup, getting on it!

shaurya947 avatar Sep 24 '15 16:09 shaurya947

i am having the same problem too.

dinardln avatar Sep 25 '15 15:09 dinardln

@dinardln if you pull the latest from master, this issue should have gone away.

As for support for v0.14.0-rc1, we're working on it and will try to include it in a new release of Material-UI which is most likely coming today.

shaurya947 avatar Sep 25 '15 15:09 shaurya947

Tried npm install material-ui with Node 4.1 today and got below error:

DBSQAs-MacBook-Pro:tquesto dbsqa$ npm install material-ui --save
npm WARN peerDependencies The peer dependency react@>=0.13 included from material-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency react-tap-event-plugin@^0.1.3 included from material-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency fbjs@^0.2.1 included from react-tap-event-plugin will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm ERR! Darwin 13.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "material-ui" "--save"
npm ERR! node v4.1.0
npm ERR! npm  v2.14.3
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants fbjs@^0.2.1

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/dbsqa/Desktop/Tapas/RnD/Gitlabs/tquesto/npm-debug.log
DBSQAs-MacBook-Pro:tquesto dbsqa$ 

tapas4java avatar Sep 26 '15 07:09 tapas4java

Looking forward to this being pushed to npm!

bdefore avatar Sep 26 '15 17:09 bdefore

I had that problem 3-4 days ago and I included "react-tap-event-plugin": "~0.1.3" in my dependencies in my own project (package.json) and i no longer have that problem since material-ui only requires a version>=0.1.3.

edit: this works if you use react 0.13

olivierGM avatar Sep 26 '15 18:09 olivierGM

@olivierGM if i do that i get the error npm ERR! peerinvalid Peer [email protected] wants react@~0.12 ... the project i'm working on is using react 0.14.0-rc1

bdefore avatar Sep 26 '15 19:09 bdefore

I am using "react": "~0.13.3" and i am not ready to move to react 0.14 so this fix works for me (react 0.13) but not 0.14...

olivierGM avatar Sep 26 '15 19:09 olivierGM

+1, a fix for 0.14.* would be lovely :+1:

skosch avatar Sep 28 '15 16:09 skosch

+1 for the update to 0.14!

bdefore avatar Sep 30 '15 08:09 bdefore

Does the code from the react-0.14-support branch help you guys? Of course, it'll be a while before it is pushed to npm.

shaurya947 avatar Sep 30 '15 15:09 shaurya947