Open aisk opened 9 years ago
Putting ReactNative as a project dependency will break future react updates because your project will install a different (older) version than the main project.
Also contributes to https://github.com/t4t5/react-native-router/issues/38
Neither of these seems to fix the problem for me? I bumped the version to "react-native": "^0.8.0"
and still got the error, so i removed the dependency all together and still get the error.
EDIT: Nvm i'm an idiot. After bumping the version you have to cd node_modules/react-native-router
and then npm install
now it works.
:+1:
ok. cool. almost gave up!. thanks
@MikaelCarpenter thank you! Your solution worked for me as well.
I upgrade my project to react native 0.8, and saw this errors:
and saw the react native router is based on react 0.4. I removed the react deps in node_modules/react-native-router, and seems the project can run now.
I think we should remove the react deps, let user use react on there project, or move react to deps-dev.