node.js - NPM install peerinvalid - how to fix? -


today circleci stopped working due peer-invalid issue can seen below:

src/index.js -> lib/index.js npm err! linux 3.13.0-91-generic npm err! argv "node" "/home/ubuntu/nvm/v0.10.33/bin/npm" "install" npm err! node v0.10.33 npm err! npm  v2.13.5 npm err! code epeerinvalid  npm err! peerinvalid package react@15.2.1 not satisfy siblings' peerdependencies requirements! npm err! peerinvalid peer material-ui@0.15.2 wants react@^15.0.0 npm err! peerinvalid peer react-addons-pure-render-mixin@15.2.1 wants react@^15.2.1 npm err! peerinvalid peer react-flexbox@3.1.0 wants react@^0.14.0 || ^15.0.0 npm err! peerinvalid peer react-tap-event-plugin@0.2.2 wants react@^0.14.0 npm err! peerinvalid peer react-dom@15.2.1 wants react@^15.2.1  npm err! please include following file support request: npm err!     /home/ubuntu/app/npm-debug.log 

below can see package.json file. idea on how fix? how go solving issue this? whats best approach?

{   "name": "xxxxx",   "version": "1.0.0",   "description": "",   "main": "all.js",   "scripts": {     "test": "echo \"error: no test specified\" && exit 0"   },   "author": "",   "license": "isc",   "devdependencies": {     "babel-eslint": "^4.1.3",     "babel-plugin-react-transform": "^1.1.1",     "browserify": "^11.0.1",     "browserify-incremental": "^3.0.1",     "eslint": "^1.5.1",     "eslint-config-airbnb": "0.0.8",     "eslint-plugin-react": "^3.4.2",     "react-a11y": "^0.2.6",     "react-transform-catch-errors": "^1.0.0",     "react-transform-hmr": "^1.0.1"   },   "dependencies": {     "babel-core": "^6.0.20",     "babel-loader": "^6.0.1",     "babel-polyfill": "^6.3.14",     "babel-preset-es2015": "^6.0.15",     "babel-preset-react": "^6.0.15",     "babel-preset-stage-2": "^6.0.15",     "babelify": "^6.3.0",     "chart.js": "^1.0.2",     "color": "^0.10.1",     "container-query": "0.0.2",     "es6-shim": "^0.27.1",     "history": "^1.12.5",     "immutable": "^3.7.5",     "jsx-control-statements": "^1.1.1",     "lodash": "^3.10.1",     "material-ui": "^0.13.0",     "moment": "^2.10.6",     "radium": "^0.14.2",     "react": "^0.14.2",     "react-addons-pure-render-mixin": "^0.14.2",     "react-flexbox": "^3.0.0",     "react-router": "1.0.0-rc3",     "react-tap-event-plugin": "^0.2.0",     "store-prototype": "^1.1.1"   } } 

fixed , locked npm , node versions

{   "name": "xxxxx",   "version": "1.0.0",   "description": "",   "main": "all.js",   "scripts": {     "test": "echo \"error: no test specified\" && exit 0"   },   "author": "",   "license": "isc",   "devdependencies": {     "babel-eslint": "^4.1.3",     "babel-plugin-react-transform": "^1.1.1",     "browserify": "^11.0.1",     "browserify-incremental": "^3.0.1",     "eslint": "^1.5.1",     "eslint-config-airbnb": "0.0.8",     "eslint-plugin-react": "~3.4.2",     "react-a11y": "~0.2.6",     "react-transform-catch-errors": "~1.0.0",     "react-transform-hmr": "~1.0.1"   },   "dependencies": {     "babel-core": "^6.0.20",     "babel-loader": "^6.0.1",     "babel-polyfill": "^6.3.14",     "babel-preset-es2015": "^6.0.15",     "babel-preset-react": "^6.0.15",     "babel-preset-stage-2": "^6.0.15",     "babelify": "^6.3.0",     "chart.js": "^1.0.2",     "color": "^0.10.1",     "container-query": "0.0.2",     "es6-shim": "^0.27.1",     "history": "^1.12.5",     "immutable": "^3.7.5",     "jsx-control-statements": "^1.1.1",     "lodash": "^3.10.1",     "material-ui": "^0.13.0",     "moment": "^2.10.6",     "radium": "^0.14.2",     "react": "~0.14.2",     "react-addons-pure-render-mixin": "~0.14.2",     "react-flexbox": "~3.0.0",     "react-router": "1.0.0-rc3",     "react-tap-event-plugin": "~0.2.0",     "store-prototype": "^1.1.1"   },   "engines": {     "node": "0.10.33",     "npm": "2.1.35   } } 

Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -