peerinvalid Peer react-search-bar@1.1.4 wants babel-core@^5.6.20
haydenth opened this issue · 6 comments
haydenth commented
Trying to install via npm:
tom@santaclaus3 ~/projects/blueprint-web $ npm i react-search-bar
npm WARN package.json blueprint-web@0.0.1 No README data
npm http GET https://registry.npmjs.org/react-search-bar
npm http 304 https://registry.npmjs.org/react-search-bar
npm ERR! peerinvalid The package babel-core does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer babel-loader@6.2.1 wants babel-core@^6.0.0
npm ERR! peerinvalid Peer react-search-bar@1.1.4 wants babel-core@^5.6.20
npm ERR! System Linux 3.13.0-62-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "i" "react-search-bar"
npm ERR! cwd /home/tom/projects/blueprint-web
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/tom/projects/blueprint-web/npm-debug.log
npm ERR! not ok code 0
when I look at my npm list, i see that i have 6.4.5 installed
tom@santaclaus3 ~/projects/blueprint-web $ npm list | grep babel-core
├─┬ babel-core@6.4.5
vakhtang commented
You've got 6.4.5 installed, but react-search-bar
is requesting a version no higher than 6. I'll need to test higher versions and verify that things work fine.
Deleted user commented
How exactly do you fix this problem?
Deleted user commented
npm WARN react-search-bar@1.1.4 requires a peer of babel-core@^5.6.20 but none was installed.
npm WARN react-search-bar@1.1.4 requires a peer of react@^0.14.0-rc1 but none was installed.
npm WARN react-search-bar@1.1.4 requires a peer of react-dom@^0.14.0-rc1 but none was installed.
package.json
"dependencies": {
"babel": "^5.6.23",
"babel-core": "^6.14.0",
"babel-loader": "^6.2.5",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-react-html-attrs": "^2.0.0",
"babel-plugin-transform-class-properties": "^6.11.5",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-es2015": "^6.14",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-0": "^6.5.0",
"css-loader": "^0.25.0",
"less": "^2.7.1",
"less-loader": "^2.2.3",
"material-ui": "^0.15.4",
"react": "^15.3.2",
"react-cellblock": "^2.0.0",
"react-dom": "^15.3.2",
"react-search-bar": "^1.1.4",
"react-tap-event-plugin": "^1.0.0",
"style-loader": "^0.13.1",
"webpack": "^1.13.2",
"es6-promise": "^3.0.2"
},
stahlmanDesign commented
The installation seems to be broken. I have all the required dependencies installed and it says
├── UNMET PEER DEPENDENCY babel@^5.6.23
├── UNMET PEER DEPENDENCY babel-core@^5.6.20
├── UNMET PEER DEPENDENCY es6-promise@^3.0.2
├── UNMET PEER DEPENDENCY react@15.3.2
├── UNMET PEER DEPENDENCY react-dom@15.3.2
I am using create-react-app which handles webpack, babel, es6 and everything is up to date
https://github.com/facebookincubator/create-react-app
vakhtang commented
2.0 is out, but I don't plan on actively maintaining this project. It's now available for educational purposes. Please use react-autosuggest instead.