shoutem/extensions

Strange issue with extension breaking builds

Opened this issue · 0 comments

So we have a custom extension that is using file anchors and injection for a native dependency. I tried to use the app segment module pattern but I needed to make more modifications than it allowed. I am now getting a strange “no default value” red page error, though the injection for the base app build files seems to be exactly how I need it. I can push the extension if it would help, but didn’t want to kill the current working build.

and here is the react log:
05-23 09:35:58.387 7785 7785 D ReactNative: [CodePush] Loading JS bundle from "assets://index.android.bundle"
05-23 09:35:58.394 7785 7785 D ReactNative: ReactInstanceManager.ctor()
05-23 09:35:58.515 7785 7785 D ReactNative: ReactInstanceManager.createReactContextInBackground()
05-23 09:35:58.516 7785 7785 D ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()
05-23 09:36:25.883 7785 7785 D ReactNative: ReactInstanceManager.onJSBundleLoadedFromServer()
05-23 09:36:25.884 7785 7785 D ReactNative: ReactInstanceManager.recreateReactContextInBackground()
05-23 09:36:25.884 7785 7785 D ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()
05-23 09:36:25.910 7785 7831 D ReactNative: ReactInstanceManager.createReactContext()
05-23 09:36:26.263 7785 7831 D ReactNative: Initializing React Xplat Bridge.
05-23 09:36:26.269 7785 7831 D ReactNative: Initializing React Xplat Bridge before initializeBridge
05-23 09:36:26.277 7785 7831 D ReactNative: Initializing React Xplat Bridge after initializeBridge
05-23 09:36:26.277 7785 7831 D ReactNative: CatalystInstanceImpl.runJSBundle()
05-23 09:36:26.279 7785 7835 D ReactNative: ReactInstanceManager.setupReactContext()
05-23 09:36:26.280 7785 7835 D ReactNative: CatalystInstanceImpl.initialize()
05-23 09:36:26.284 7785 7835 D ReactNative: ReactInstanceManager.attachRootViewToInstance()
05-23 09:36:28.400 7785 7834 E ReactNativeJS: No default value
05-23 09:36:28.457 7785 7834 I ReactNativeJS: 'Failed to print error: ', 'No default value'
05-23 09:36:28.469 7785 7834 E ReactNativeJS: Module AppRegistry is not a registered callable module (calling runApplication)
05-23 09:36:28.471 7785 7834 I ReactNativeJS: 'Failed to print error: ', 'undefined is not a function (evaluating 'regeneratorRuntime.async')'
05-23 09:36:28.518 7785 7785 D ReactNative: CatalystInstanceImpl.destroy() start
05-23 09:36:28.584 7785 7809 D ReactNative: CatalystInstanceImpl.destroy() end
05-23 09:36:28.656 7785 7785 D ReactNative: CatalystInstanceImpl.destroy() start