jmurzy/react-router-native

Missing dependencies.

twelvearrays opened this issue · 3 comments

This project contains components that are currently under active development and considered experimental. If it is something you can debug and fix, please consider submitting a pull request instead!


Version

Dependency Version
react-router-native 2.0.0-alpha.2
react-router 3.0.0-alpha.1
react-native 0.30.0-rc.0

Expected Behavior

To install with:

npm install --save react-router-native react-router

Actual Behavior

Installed but I had to also install the follow modules in local directory:

fbjs
query-string
deep-equal

npm install --save fbjs query-string deep-equal

After installing these extra modules react-router-native is working as expected.

Thanks!

@twelvearrays I wonder if you're using npm@2.x or npm@3.x?

Same issue. npm@3.x. Peer dependencies need to be explicitly stated as they are not downloaded by default.

Not sure if this is a peer depencency issue. npm can be flaky sometimes. Running npm install again does usually fix depencency issues.

Just pushed a new release, can you try again and let me know if it works for you?

$ npm install --save react-router-native@v2.0.0-alpha.5 react-router@3.0.0-alpha.3

Thanks!

🍺