ptomasroos / react-native-tab-navigator

A tab bar that switches between scenes, written in JS for cross-platform support
MIT License
2.4k stars 415 forks source link

install fail #151

Closed Allansk2 closed 6 years ago

Allansk2 commented 7 years ago

I'm in my React Native project directory and run: npm install react-native-tab-navigator --save get

npm WARN gentlyRm not removing /Users/....../node_modules/.bin/jest as it wasn't installed by /Users/...../node_modules/jest-cli npm notice created a lockfile as package-lock.json. You should commit this file.

It seem to remove some of other packages and then I can't build my ios project. What am I missing?

my package.json { "name": "xxx", "version": "0.0.1", "private": true, "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start", "test": "jest" }, "dependencies": { "react": "16.0.0-alpha.12", "react-native": "0.45.1" }, "devDependencies": { "babel-jest": "20.0.3", "babel-preset-react-native": "2.0.0", "jest": "20.0.4", "react-test-renderer": "16.0.0-alpha.12" }, "jest": { "preset": "react-native" } }

AndroidKiven commented 7 years ago

I have the same question too

MasterShu commented 6 years ago

maybe you can use command yarn add react-native-tab-navigator

ptomasroos commented 6 years ago

Will close since this issue is more than a year, feel free to a open a new if this is still a issue.