Skip to content

Conversation

devniel
Copy link

@devniel devniel commented May 17, 2016

Hello,

I cloned my project in a machine with npm 2.15.1 , all was installed as expected on my node_modules folder but at the end I had this error :

Binary is fine; exiting.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.4.4
npm ERR! npm  v2.15.1
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' pee
rDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.0 || ^15.
0.0
npm ERR! peerinvalid Peer [email protected] wants react@^15.0.
2
npm ERR! peerinvalid Peer [email protected] wants react@^15.0.2
npm ERR! peerinvalid Peer [email protected] wants react@^15.0.2
npm ERR! peerinvalid Peer [email protected] wants [email protected]
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.0 || ^15.0.
0
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.0 || ^15.0.0

npm ERR! Please include the following file with any support request:
npm ERR!     C:\dev\bcp-bot-web\npm-debug.log

A method to solve it is to add the current react version format to the peerDependencies section of the module.

"peerDependencies": {
    "react": "0.x || ^x.0.0"
  }

@Theo-codeitUp
Copy link

i added

"peerDependencies": {
    "react": "0.x || ^x.0.0"
  }

but still have warning message with npm 4.1.2

[email protected] requires a peer of [email protected] but none was installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants