Skip to content

Error when trying to do NPM install #4

@CHOMNANP

Description

@CHOMNANP

I'm trying to run 'npm install' after download the repo and see this error.

Any idea what wrong?
I'm on Mac and my node version is v8.0.0.

`Mr-Awesome:NativeBase-TodoApp awesome$ npm install
npm WARN peerDependencies The peer dependency react-native@>=0.36.0 included from jest-react-native 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 whatwg-fetch@^2.0.0 included from jest-react-native 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-native@>=0.40.0 included from native-base 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@>=15.4.0 included from native-base 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-native-vector-icons@~4.0.0 included from native-base 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 deprecated node-uuid@1.4.7: Use uuid module instead
npm WARN engine got@5.7.1: wanted: {"node":">=0.10.0 <7"} (current: {"node":"8.0.0","npm":"2.15.9"})
npm WARN engine got@5.7.1: wanted: {"node":">=0.10.0 <7"} (current: {"node":"8.0.0","npm":"2.15.9"})

spawn-sync@1.0.15 postinstall /Users/awesome/Desktop/app/NativeBase-TodoApp/node_modules/react-native/node_modules/yeoman-generator/node_modules/cross-spawn/node_modules/spawn-sync
node postinstall

npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v8.0.0
npm ERR! npm v2.15.9
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package react@15.3.2 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer native-base@0.5.22 wants react@>=15.4.0
npm ERR! peerinvalid Peer react-native@0.35.0 wants react@~15.3.1
npm ERR! peerinvalid Peer react-redux@4.4.8 wants react@^0.14.0 || ^15.0.0-0 || ^15.4.0-0 || ^16.0.0-0
npm ERR! peerinvalid Peer react-test-renderer@15.3.2 wants react@^15.3.2

npm ERR! Please include the following file with any support request:
npm ERR! /Users/awesome/Desktop/app/NativeBase-TodoApp/npm-debug.log`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions