seantempesta / expo-cljs-template

Expo template for Clojurescript React Native
Eclipse Public License 1.0
304 stars 33 forks source link

TypeError on fresh installation with rum template #40

Closed foopang closed 7 years ago

foopang commented 7 years ago

Hi, I came across the below TypeError on a fresh installation with rum template in Android emulator.

Console log for exp start --android:

[exp] Loading Closure base.          
[exp] Shimming require               
[exp] Shimming goog functions.       
[exp] Requiring: react               
[exp] Warning: React.createClass is no longer supported. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement. (https://fb.me/migrating-from-react-create-class)
[exp] Requiring: react-native        
[exp] Requiring: react               
[exp] Requiring: expo                
[exp] [TypeError: undefined is not an object (evaluating 'require(474               ).default')]
[exp] Finished building JavaScript bundle in 638ms.             

Console log in Android emulator:

undefined is not an object (evaluating 'BarCodeScannerManager.BarCodeType')
<unknown>
    BarCodeScanner.js:30:39
loadModuleImplementation
    require.js:174:12
guardedLoadModule
    require.js:119:45
_require
    require.js:110:20
BarCodeScanner
    Expo.js:79:19
customEval
    figwheel-bridge.js:85:25
<unknown>
    figwheel-bridge.js:98:27
<unknown>
    JSTimers.js:223:23
_callTimer
    JSTimers.js:143:6
callTimers
    JSTimers.js:372:17
__callFunction
    MessageQueue.js:266:47
<unknown>
    MessageQueue.js:103:26
__guard
    MessageQueue.js:231:6
callFunctionReturnFlushedQueue
    MessageQueue.js:102:17

Android API version: 25 Android device: Nexus_6P Node version: 6.10.0

foopang commented 7 years ago

Seems OK now after restarting Android emulator. Strange...