This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-15
Channels
- # beginners (34)
- # boot (6)
- # cider (20)
- # cljs-dev (5)
- # clojure (7)
- # clojure-austin (1)
- # clojure-dusseldorf (10)
- # clojure-spec (11)
- # clojure-uk (3)
- # clojurescript (7)
- # cursive (1)
- # datomic (6)
- # defnpodcast (1)
- # hoplon (2)
- # luminus (32)
- # lumo (9)
- # nrepl (2)
- # nyc (1)
- # off-topic (18)
- # onyx (9)
- # portkey (3)
- # re-frame (27)
- # reagent (102)
- # shadow-cljs (70)
- # tools-deps (25)
- # vim (2)
still met the same error with the lastest exp. @thheller can you provide your versions of exp
and create-react-native-app
?
@doglooksgood that is with the same code? or did you add something? maybe its your Expo app version?
"dependencies": {
"expo": "^26.0.0",
"react": "16.3.0-alpha.1",
"react-native": "0.54.0"
}
{
"name": "DemoApp",
"version": "0.1.0",
"private": true,
"devDependencies": {
"react-native-scripts": "1.13.1",
"jest-expo": "26.0.0",
"react-test-renderer": "16.3.0-alpha.1"
},
"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
"scripts": {
"start": "react-native-scripts start",
"eject": "react-native-scripts eject",
"android": "react-native-scripts android",
"ios": "react-native-scripts ios",
"test": "jest"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"expo": "^26.0.0",
"react": "16.3.0-alpha.1",
"react-native": "0.54.0"
}
}
I think we have the same dependencies.If installed from AppStore, the version will be 2.4.7, if let exp download and install on ios simulator, the version will be 2.4.6
you can look at the DemoApp/out-ios/bundle.ios.js
file and look at the lines directly until source maps work
It's a pretty large function, it failed at
16258 case 'blob':
16259 if (typeof this._response === 'object' && this._response) {
16260 this._cachedResponse = BlobManager.createFromOptions(this._response);
16261 } else {
16262 throw new Error("Invalid response for blob: " + this._response); <--- Here
16263 }
16264
16265 break;
can you find this part in your bundle.ios.js?ah you mean the scan qrcode thing? can just use the default iOS Camera app for that.
on android I did get a scan qrcode option in the app itself. dunno why its not there on ios
once you use command exp
to start a ios simulator, it will download expo
and install it automatically.
10:36:35 [exp] Installing Expo on device
\10:36:38 [exp] Couldn't start project on Android: Error running adb: Failed to install C:\Users\thheller\.expo\android-apk-cache\Exponent-2.4.0.apk:
I can probably fake the version easily. the client sends a "exponent-sdk-version" "26.0.0,25.0.0,24.0.0,23.0.0,22.0.0,21.0.0,20.0.0"
header on connect. can just pretend to by any of those 😉
the android version sends "26.0.0,25.0.0,24.0.0,23.0.0,22.0.0,21.0.0,20.0.0"
as versions
@thheller I have no problems in 2.2.29 (well, HUD is a little erratic, but it’s always been in sort of a hard to describe way), but in 31 I get a console error about devtools, and hot load doesn’t work.