react-everywhere / re-start

react-native template to target multiple platforms :globe_with_meridians: :iphone: :computer: with single codebase.
https://medium.com/@amoghbanta/write-once-use-everywhere-with-react-native-d6e575efe58e#.nfl50gwfg
MIT License
1.3k stars 85 forks source link

Initial setup failing #88

Open thorakmedichi opened 4 years ago

thorakmedichi commented 4 years ago

Just trying to follow the instructions to install from the docs here: https://github.com/react-everywhere/re-start

I want the full package, so following the directions I need to run the re-base install, then the re-route, then re-dux, then re-start. After installing those I need to run the ./finishInstall.js script.

When running ./finishInstall.js I get the following error:

Enable Windows support to the project...
Reading application name from package.json...
Reading react-native version from node_modules...
Checking for react-native-windows version matching 0.61.*...
Could not find react-native-windows@0.61.*-rc.*. Latest version of react-native-windows for tag 'rc' is 0.59.0-rc.5, try switching to react-native@0.59.*.

Looking in package.json there is no react-native-windows. So I try to add it myself and the only version of 0.61 is 0.61-beta-1. If I install that I still get the above error. In fact I seem to get that error for all version of react-native-windows I have tried.

I don't want to change to react-native 0.59 if I don't have to. I must assume that the version of RN you have in the package.json is the version that is needed...

either your initial template install scripts are installing incorrect versions or your finishInstall is wrong. Not sure what to do here.