SAFE-Stack / SAFE-Nightwatch

Demo of SAFE-Stack applied to React Native for cross platform native mobile apps
The Unlicense
158 stars 29 forks source link

Unable to connect to development server #70

Open Tweega opened 5 years ago

Tweega commented 5 years ago

I have gone through install steps (on Ubuntu) and have a react-native helloWorld app loaded on my device. Running ./build.sh debug on the SAFE-Nightwatch app downloads dependencies, compiles successfully, and installs an app icon on my device - with no errors reported from the Ubuntu terminal. However, the app does not properly load on the device which gives error: unable to load script, along with a recommendation to run react-native start. However, I can't do that as port 8081 is being used by the process started by running ./build.sh (which kills the packager server when it runs) Any suggestions gratefully received.

forki commented 5 years ago

Did you get vanilla react-native working?

Tweega commented 5 years ago

Hi Steffen - how surreal to get an email from you - I was just watching your presentation on the SAFE stack on YouTube yesterday.

I did get vanilla react-native working - just the "Welcome to React-Native" page that tells you to shake the phone for the dev menu.

Chris

On 2019-07-03 13:03, Steffen Forkmann wrote:

Did you get vanilla react-native working?

-- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [1], or mute the thread [2].

Links:

[1] https://github.com/SAFE-Stack/SAFE-Nightwatch/issues/70?email_source=notifications&email_token=AAKRIZIMIVW2HU6JLRZAOOTP5SIQRA5CNFSM4H5FAZKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZEHEIY#issuecomment-508064291 [2] https://github.com/notifications/unsubscribe-auth/AAKRIZONSQ33XLU45Z5RQFTP5SIQRANCNFSM4H5FAZKA

forki commented 5 years ago

Mhm I never tried it on Linux. Not really sure what's going on.

Tweega commented 5 years ago

Steffen - no worries for now - I might switch to using Windows. However, if you do get the chance to run this from Linux, I would be interested to hear.

Do you know of any other sample Elmish/React-Native examples that I could look to get working in Linux and see what differences there might be with the nightwatch build script? I have downloaded _sample-rn-counter _from github, but that seems to be organised quite differently, and does not run yet either, because of some mismatch in Java versions that I am trying to chase down (it is a couple of years old).

Many thanks for getting back to me.

Chris

On 2019-07-03 13:10, Steffen Forkmann wrote:

Mhm I never tried it on Linux. Not really sure what's going on.

-- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [1], or mute the thread [2].

Links:

[1] https://github.com/SAFE-Stack/SAFE-Nightwatch/issues/70?email_source=notifications&email_token=AAKRIZNTLDLSFY4PDHCSUPTP5SJKBA5CNFSM4H5FAZKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZEHUEA#issuecomment-508066320 [2] https://github.com/notifications/unsubscribe-auth/AAKRIZO2JIK4TNZYZFFSH3DP5SJKBANCNFSM4H5FAZKA

patroclos commented 5 years ago

I have the same problem on Windows 10, any news on this