[ViroARSceneNavigator] Error: Requiring unknown module "undefined".
laurensius opened this issue · 2 comments
laurensius commented
Requirements:
- [ ✅ ] Review the docs
- [ ✅ ] Search for existing issues
- [ ✅ ] Use the latest ViroReact
Environment
- Development OS: MacOS Sonoma 14.2.1
- Device OS & Version: Android 11
- Version: ViroReact(2.40.1) and React Native(0.73.4)
- Device(s): Realme 7i with Android 11 Ram 8GB
Description
When I tried to use ViroARSceneNavigator, an error occurred with the following description:
Error: Requiring unknown module "undefined". If you are sure the module exists, try restarting Metro. You may also want to run `yarn` or `npm install`., js engine: hermes at ViroARSceneNavigator (http://localhost:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.rnvirovromo&modulesOnly=false&runModule=true:128611:22) at App at RCTView at View (http://localhost:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.rnvirovromo&modulesOnly=false&runModule=true:59759:43) at RCTView at View (http://localhost:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.rnvirovromo&modulesOnly=false&runModule=true:59759:43) at AppContainer (http://localhost:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.rnvirovromo&modulesOnly=false&runModule=true:59601:36) at RNViroVRomo(RootComponent) (http://localhost:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.rnvirovromo&modulesOnly=false&runModule=true:110702:28) TypeError: Cannot read property 'VIRO_VERSION' of undefined] at ViroARSceneNavigator (http://localhost:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.rnvirovromo&modulesOnly=false&runModule=true:128611:22) at App at RCTView at View (http://localhost:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.rnvirovromo&modulesOnly=false&runModule=true:59759:43) at RCTView at View (http://localhost:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.rnvirovromo&modulesOnly=false&runModule=true:59759:43) at AppContainer (http://localhost:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.rnvirovromo&modulesOnly=false&runModule=true:59601:36) at RNViroVRomo(RootComponent) (http://localhost:8081/index.bundle//&platform=android&dev=true&lazy=true&minify=false&app=com.rnvirovromo&modulesOnly=false&runModule=true:110702:28)
Reproducible Demo
robertjcolley commented
Closing in favor of reopening #267.