Fork me on GitHub
#cljsrn
<
2017-08-10
>
ijbriscoe12:08:58

Apologies if this has already been covered in this channel. I'm trying to use Expo and remote debugging, but I get this error when reloading the app

ijbriscoe12:08:21

If I disable remote debugging, the app loads fine

ijbriscoe12:08:43

Has anyone had any luck getting this to work?

vikeri12:08:00

Try restarting the app, killing it etc.

vikeri12:08:10

It’s quite finicky sometimes

ijbriscoe12:08:23

Well, restarting Expo didn't work. This is a brand new project created using the exp command line utility, following the directions here https://docs.expo.io/versions/latest/guides/using-clojurescript.html#content

ijbriscoe12:08:01

I like the convenience of Expo - especially as I'm just starting to develop real world apps with RN - but this seems like a showstopper for now

vikeri12:08:02

Sorry have no experience with Expo

vikeri12:08:16

Pretty sure it will work though

ijbriscoe12:08:39

Ah, ok - thanks for the suggestion though. Perhaps someone else might have a idea... in the meantime, I think I'll go back to re-natal, though it's a little more painful to get running

ijbriscoe12:08:39

Was about to give up when I saw the README.md in the project, and had a quick scan... there's a subtle difference in how to start the app.

exp start -a --lan
works!

ijbriscoe12:08:22

Have contacted author to see about changing docs

chalcidfly22:08:05

Been banging my head against “Network request failed” for almost two hours with no luck

chalcidfly22:08:26

re-natal + figwheel in ios simluator. nothing seems to work. any ideas?

chalcidfly22:08:29

I can do lein prod-build, wait a minute, then reload the app without figwheel, but it’s painful.

chalcidfly22:08:51

Unsure how to debug this problem.

mfikes23:08:11

@chalcidfly There is an issue that can occur on device with App Transport Security. Wonder if you are somehow encountering that in the simulator. My advice would be to run it in the simulator, but from Xcode so you can see the app's logs right in the Xcode console. Perhaps more details are in the console.