google-map-react / old-examples

Examples for google-map-react component.
http://google-map-react.github.io/google-map-react/map/main/
357 stars 316 forks source link

Problem in using google-map-react in ReactStaretkit #11

Closed yuseferi closed 8 years ago

yuseferi commented 8 years ago

I am newbie to react,I want use google-map-react in React Starter Kit,First I download it, go to downloaded directory, and first npm install , and then npm start, and everything is OK, server running on localhost:3001 , Then I don't Know how use your component :| In first effort in root directory of react starter kit I try npm install --save google-map-react but I faced


npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save" "google-map-react"
npm ERR! node v4.4.1
npm ERR! npm  v2.14.20
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package eslint@2.9.0 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer eslint-config-airbnb@6.2.0 wants eslint@^2.4.0
npm ERR! peerinvalid Peer eslint-loader@1.3.0 wants eslint@>=1.6.0 <3.0.0
npm ERR! peerinvalid Peer babel-eslint@5.0.4 wants eslint@<2.3.0

My Problem is How can I use google-map-react in react starter kit?

istarkov commented 8 years ago

Your version of npm is outdated.

yuseferi commented 8 years ago

Thanks after you reply I update to

$npm -v => 3.9.0

$node -v => v4.4.4 and it installed correctly. tnx.