This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-26
Channels
- # admin-announcements (3)
- # beginners (44)
- # boot (48)
- # cljs-dev (2)
- # cljsjs (14)
- # cljsrn (2)
- # clojure (32)
- # clojure-android (1)
- # clojure-nl (1)
- # clojure-portugal (1)
- # clojure-russia (7)
- # clojure-spec (51)
- # clojure-uk (21)
- # clojurescript (9)
- # component (2)
- # cursive (4)
- # emacs (5)
- # funcool (1)
- # hispano (3)
- # hoplon (10)
- # immutant (14)
- # jobs (1)
- # jobs-discuss (4)
- # off-topic (15)
- # om (1)
- # onyx (1)
- # planck (36)
- # re-frame (2)
- # reagent (25)
- # spacemacs (2)
- # spirituality-ethics (10)
- # untangled (2)
- # vim (8)
- # yada (1)
i’m just getting started with re-natal, and my app runs fine in the simulator, but i’m running into a problem when trying to run on a real ios device. i ran re-natal use-ios-device real
and also changed the jsCodeLocation
url in AppDelegate.m
to point to my computer’s ip address. when the app starts up i can see it making requests in the react packager terminal window, but immediately afterwards i get the following error:
2016-06-26 17:35:12.694 [info][tid:com.facebook.react.JavaScript] Running application "tricorder" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
2016-06-26 17:35:12.751 [info][tid:com.facebook.react.JavaScript] Loading Closure base.
2016-06-26 17:35:12.751 [info][tid:com.facebook.react.JavaScript] Shimming require
2016-06-26 17:35:12.790 [error][tid:com.facebook.react.JavaScript] { [TypeError: Network request failed]
line: 26890,
column: 21,
sourceURL: '' }
2016-06-26 17:35:13.044 [warn][tid:com.facebook.react.JavaScript] Possible Unhandled Promise Rejection (id: 0):
error is not a function. (In 'error()', 'error' is an instance of TypeError)
tryCallOne@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:10529:10
callTimer@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:4227:9
callImmediatesPass@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:4285:28
callImmediates@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:4300:43
guard@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:2970:3
__callImmediates@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:3060:6
guard@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:2970:3
callFunctionReturnFlushedQueue@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:3018:6
callFunctionReturnFlushedQueue@[native code]