Bug Description
1. Summary
After following the steps on the developers guide for updating the package namespace and the update made successfully I was able to install dependencies (npm i), and build the app (npm run build:app). Everything seemed to be installed and build correctly (I had to reinsert an assets folder that the Scope Migrator Tool deleted); but when I’m trying to launch the app, it starts apparently successfully, but then I got an error related to the un-ability to read “EventEmitter” of undefined, and then the app get stuck.
App Name: “com.univision.prendetv"
App Link on Amazon Appstore: The branch with the namespaces update has not been merged, therefore the issue is not on the Appstore yet.
Bug Severity
Select one that applies
- Impacts operation of app
- Blocks current development
- Improvement suggestion
- Issue with documentation (If selected, please share the doc link and describe the issue)
- Other
2. Steps to Reproduce
- Follow the scope migrator tool 1. guide
- Re introduce the needed Assets content
- Run npm install to install all the new packages and generate a new package.json
- Build the application
- Start metro server
- Start forwarding the device
- Install the current build
- Launch the app
- Observe the logs on the terminal throwing an error related to an “EventEmitter”
- The app get stuck there.
3. Observed Behavior
Explain what actually happened, noting any discrepancies or malfunctions.
The app throws an error related to an EventEmitter and get stuck
4. Expected Behavior
Describe what you expected the SDK to do under normal operation.
The app should run as expected with the reference to the new package namespaces
4.a Possible Root Cause & Temporary Workaround
Fill out anything you have tried. If you don’t know, N/A is acceptable
I follow some forums Q&A and tried adding a couple of probably "missing" libraries but it did not workd.
Also tried to run some libraries with lowest versions but I was not able to fin a compatible one
5. Logs or crash report
Fatal error suppressed.
(NOBRIDGE) ERROR Global error caught: [TypeError: Cannot read property 'EventEmitter' of undefined]
at AppWrapper (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:148710:48)
at QueryClientProvider (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:188890:22)
at AnalyticsProvider (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:272434:22)
at App (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:148651:106)
at RCTView
at View (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:60846:26)
at RCTView
at View (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:60846:26)
at AppContainer (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:60700:36)
at com.univision.prendetv.main(RootComponent) (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:110648:28)
(NOBRIDGE) LOG Fatal error suppressed.
(NOBRIDGE) ERROR Global error caught: [TypeError: Cannot read property 'EventEmitter' of undefined]
at AppWrapper (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:148710:48)
at QueryClientProvider (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:188890:22)
at AnalyticsProvider (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:272434:22)
at App (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:148651:106)
at RCTView
at View (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:60846:26)
at RCTView
at View (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:60846:26)
at AppContainer (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:60700:36)
at com.univision.prendetv.main(RootComponent) (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:110648:28)
(NOBRIDGE) LOG Fatal error suppressed.
(NOBRIDGE) ERROR Global error caught: [TypeError: Cannot read property 'EventEmitter' of undefined]
at AppWrapper (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:148710:48)
at QueryClientProvider (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:188890:22)
at AnalyticsProvider (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:272434:22)
at App (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:148651:106)
at RCTView
at View (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:60846:26)
at RCTView
at View (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:60846:26)
at AppContainer (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:60700:36)
at com.univision.prendetv.main(RootComponent) (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:110648:28)
For crash issues, please refer this guide for faster troubleshooting: Detect Where the App Crash Originates | Design and Develop Vega Apps
-
For issues with Kepler Studio Extension, please share log files from below folders:
~/.vscode/extensions/amazon.kepler-extension-<version>/ExtensionLogs ~/.vscode/extensions/amazon.kepler-ui-extension-<version>/ExtensionLogs
6. Environment
Please fill out the fields related to your bug below:
-
SDK Version: 0.20.3719
-
App State:
[Foreground] -
OS Information
Please ssh into the device viakepler exec vda shelland copy the output fromcat /etc/os-releaseinto the answer section below. Note, if you don’t have a simulator running or device attachedkepler exec vda shellwill respond withvda: no devices/emulators foundNAME="OS" OE_VERSION="4.0.0" OS_MAJOR_VERSION="1" OS_MINOR_VERSION="1" RELEASE_ID="14" OS_VERSION="1.1" BRANCH_CODE="TV Ship day60" BUILD_DESC="OS 1.1 (TV Ship day60/4454)" BUILD_FINGERPRINT="4.0.198430.0(3072cab629675a74)/4454N:user-external/release-keys" BUILD_VARIANT="user-external" BUILD_TAGS="release-keys" BUILD_DATE="Sat Dec 20 04:05:59 UTC 2025" BUILD_TIMESTAMP="1766203559" VERSION_NUMBER="1401010445450" sh(com.amazon.dev.shell):/$
7. Example Code Snippet / Screenshots / Screengrabs
Include any relevant code or component setup in React Native that can help reproduce the bug.
(NOBRIDGE) ERROR Global error caught: [TypeError: Cannot read property 'EventEmitter' of undefined]
at AppWrapper (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:148710:48)
at QueryClientProvider (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:188890:22)
at AnalyticsProvider (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:272434:22)
at App (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:148651:106)
at RCTView
at View (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:60846:26)
at RCTView
at View (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:60846:26)
at AppContainer (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:60700:36)
at com.univision.prendetv.main(RootComponent) (http://localhost:8081/index.bundle//&platform=kepler&dev=true&minify=false:110648:28)
Additional Context
Any Additional Context you would like to provide?
Add any other relevant information, such as recent updates to the SDK, dependencies, or device OS that may affect the bug.
I had to re instert my asset folder, since python scope_migrator.py --no-dry-run deleted it.
Also I had to run the command with python3 instead of just python


