Joseph Austin
Joseph Austin
Even changing it to directly use react-native-macos now gives me this error: error: bundling: UnableToResolveError: Unable to resolve module `PickerAndroid` from `....../node_modules/react-native/Libraries/Components/Picker/Picker.js`
The above error also occurs using react-native-macos run-macos on the nw calculator, though I see it is made to be served through nw and electron. But maybe that's a clue...
I don't think it's Babel because that is just for aliasing (right?), I went into the app file and changed it to explicitly look in react-native-macos so that should be...
Now trying with a fresh project...
It... it worked. yarn install to get your packages works, npm install doesn't. That's an interesting tidbit.
Okay, so to answer this thread! 1. Have a regular react project, we call it #1 2. react-native-macos init to get your macos project, we call it #2 3. Copy...
I want to point out by the way that create-react-native-app uses App.js and you need to go modify the xcode project to look for 'App' where it looks for index.macos
This approach led to some problems when i then tried to run ios. I'll try again tomorrow I suppose.
Hmm, not sure. I will make an attempt. I'm guessing it will and that'll turn out to be what happened. I'll have to roll back somehow or other.
Building it now. Well, you know how it goes, something could have gone 'right' in Ruby since you wrote it that turned what you did wrong :P These things happen.