You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new project, and run yarn android --variant Release
adb logcat output
05-25 18:21:37.000 15013 15042 E ReactNativeJS: * A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes
05-25 18:21:37.003 15013 15043 E AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
05-25 18:21:37.003 15013 15043 E AndroidRuntime: Process: com.pizzaapp, PID: 15013
05-25 18:21:37.003 15013 15043 E AndroidRuntime: com.facebook.react.common.JavascriptException: Invariant Violation: "PizzaApp" has not been registered. This can happen if:
05-25 18:21:37.003 15013 15043 E AndroidRuntime: * Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
05-25 18:21:37.003 15013 15043 E AndroidRuntime: * A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes, stack:
05-25 18:21:37.003 15013 15043 E AndroidRuntime: invariant@1:74973
05-25 18:21:37.003 15013 15043 E AndroidRuntime: runApplication@1:269009
05-25 18:21:37.003 15013 15043 E AndroidRuntime: __callFunction@1:83734
05-25 18:21:37.003 15013 15043 E AndroidRuntime: anonymous@1:82245
05-25 18:21:37.003 15013 15043 E AndroidRuntime: __guard@1:83182
05-25 18:21:37.003 15013 15043 E AndroidRuntime: callFunctionReturnFlushedQueue@1:82203
05-25 18:21:37.003 15013 15043 E AndroidRuntime:
05-25 18:21:37.003 15013 15043 E AndroidRuntime: at com.facebook.react.modules.core.ExceptionsManagerModule.reportException(ExceptionsManagerModule.java:72)
05-25 18:21:37.003 15013 15043 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-25 18:21:37.003 15013 15043 E AndroidRuntime: at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
05-25 18:21:37.003 15013 15043 E AndroidRuntime: at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:188)
05-25 18:21:37.003 15013 15043 E AndroidRuntime: at com.facebook.jni.NativeRunnable.run(Native Method)
05-25 18:21:37.003 15013 15043 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
05-25 18:21:37.003 15013 15043 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
05-25 18:21:37.003 15013 15043 E AndroidRuntime: at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
05-25 18:21:37.003 15013 15043 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
05-25 18:21:37.003 15013 15043 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
05-25 18:21:37.003 15013 15043 E AndroidRuntime: at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
05-25 18:21:37.003 15013 15043 E AndroidRuntime: at java.lang.Thread.run(Thread.java:920)
05-25 18:21:37.005 512 15050 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
05-25 18:21:37.005 512 526 W ActivityTaskManager: Force finishing activity com.pizzaapp/.MainActivity
Setting main to index.js works, but I guess this would break expo.
diff --git a/package.json b/package.json
index 556f44b..8aa06b6 100644
--- a/package.json+++ b/package.json@@ -2,7 +2,7 @@
"name": "pizza-app",
"version": "0.0.1",
"private": true,
- "main": "node_modules/expo/AppEntry.js",+ "main": "index.js",
"scripts": {
"start": "react-native start",
"ios": "react-native run-ios",
@@ -196,4 +196,4 @@
"space-before-function-paren": 0
}
}
-}
\ No newline at end of file
+}
Describe the bug
Create a new project, and run
yarn android --variant Release
Ignite version
8.8.1
Additional info
The text was updated successfully, but these errors were encountered: