jitsi / jitsi-meet

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
https://jitsi.org/meet
Apache License 2.0
23.07k stars 6.7k forks source link

Error running react-native on android ( jitsi-meet-stable-jitsi-meet_9646 ) #15142

Open gabriele86 opened 4 weeks ago

gabriele86 commented 4 weeks ago

What happened?

Running on an Android device returns the following errors: ERROR TypeError: undefined is not an object (evaluating 'error.stack.split') ERROR TypeError: undefined is not an object (evaluating '__REQUIRE(_dependencyMap[1], "../Renderer/shims/ReactNative").render') ERROR TypeError: undefined is not an object (evaluating 'error.stack.split') ERROR TypeError: undefined is not an object (evaluating '__REQUIRE(_dependencyMap[1], "../Renderer/shims/ReactNative").render')

All dependencies are satisfied, and the error occurs only on Android devices, while iOS works correctly.

Platform

Browser / app / sdk version

24.4.2

Relevant log output

515 actionable tasks: 515 executed
info Connecting to the development server...
info Starting the app on "emulator-5554"...
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=org.jitsi.meet/.MainActivity }
 BUNDLE  ./index.android.js 

 WARN  `new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method.
 WARN  `new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method.
 LOG  Running "App" with {"initialProps":{"flags":{"pip.enabled":true,"server-url-change.enabled":true,"welcomepage.enabled":true},"timestamp":1726827600818,"url":{"config":{}}},"rootTag":11}
 ERROR  TypeError: undefined is not an object (evaluating 'error.stack.split')
 ERROR  TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[1], "../Renderer/shims/ReactNative").render')
 ERROR  TypeError: undefined is not an object (evaluating 'error.stack.split')
 ERROR  TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[1], "../Renderer/shims/ReactNative").render')

Reproducibility

More details?

package.json

` { "name": "jitsi-meet", "version": "0.0.0", "description": "A sample app for the Jitsi Videobridge", "private": true, "repository": { "type": "git", "url": "git://github.com/jitsi/jitsi-meet" }, "keywords": [ "jingle", "webrtc", "xmpp", "browser" ], "author": "", "readmeFilename": "README.md", "dependencies": { "@amplitude/react-native": "2.17.3", "@braintree/sanitize-url": "7.0.0", "@emotion/react": "11.10.6", "@emotion/styled": "11.10.6", "@giphy/js-fetch-api": "4.7.1", "@giphy/react-components": "6.8.1", "@giphy/react-native-sdk": "2.3.0", "@jitsi/excalidraw": "https://github.com/jitsi/excalidraw/releases/download/v0.0.19/jitsi-excalidraw-0.0.19.tgz", "@jitsi/js-utils": "2.2.1", "@jitsi/logger": "2.0.2", "@jitsi/rnnoise-wasm": "0.1.0", "@jitsi/rtcstats": "9.5.1", "@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz", "@microsoft/microsoft-graph-client": "3.0.1", "@mui/material": "5.12.1", "@react-native-async-storage/async-storage": "1.23.1", "@react-native-clipboard/clipboard": "1.14.1", "@react-native-community/netinfo": "11.1.0", "@react-native-community/slider": "4.4.3", "@react-native-google-signin/google-signin": "10.1.0", "@react-navigation/bottom-tabs": "6.6.0", "@react-navigation/elements": "1.3.30", "@react-navigation/material-top-tabs": "6.6.13", "@react-navigation/native": "6.1.17", "@react-navigation/stack": "6.4.0", "@stomp/stompjs": "7.0.0", "@svgr/webpack": "6.3.1", "@tensorflow/tfjs-backend-wasm": "3.13.0", "@tensorflow/tfjs-core": "3.13.0", "@vladmandic/human": "2.6.5", "@vladmandic/human-models": "2.5.9", "@xmldom/xmldom": "0.8.7", "abab": "2.0.6", "amplitude-js": "8.21.9", "base64-js": "1.5.1", "bc-css-flags": "3.0.0", "clipboard-copy": "4.0.1", "clsx": "1.1.1", "dropbox": "10.7.0", "focus-visible": "5.1.0", "grapheme-splitter": "1.0.4", "i18n-iso-countries": "6.8.0", "i18next": "17.0.6", "i18next-browser-languagedetector": "3.0.1", "i18next-http-backend": "2.2.1", "image-capture": "0.4.0", "jquery": "3.6.1", "jquery-i18next": "1.2.1", "js-md5": "0.6.1", "js-sha512": "0.8.0", "jwt-decode": "2.2.0", "lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1852.0.0+526ec25d/lib-jitsi-meet.tgz", "lodash-es": "4.17.21", "moment": "2.29.4", "moment-duration-format": "2.2.2", "null-loader": "4.0.1", "optional-require": "1.0.3", "pixelmatch": "5.3.0", "promise.allsettled": "1.0.4", "punycode": "2.3.0", "react": "18.2.0", "react-dom": "18.2.0", "react-emoji-render": "2.0.1", "react-focus-on": "3.8.1", "react-i18next": "10.11.4", "react-linkify": "1.0.0-alpha", "react-native": "0.73.8", "react-native-background-timer": "2.4.1", "react-native-calendar-events": "2.2.0", "react-native-default-preference": "1.4.4", "react-native-device-info": "10.9.0", "react-native-dialog": "https://github.com/jitsi/react-native-dialog/releases/download/v9.2.2-jitsi.1/react-native-dialog-9.2.2.tgz", "react-native-gesture-handler": "2.18.1", "react-native-get-random-values": "1.9.0", "react-native-immersive-mode": "2.0.2", "react-native-keep-awake": "4.0.0", "react-native-orientation-locker": "1.6.0", "react-native-pager-view": "6.2.0", "react-native-paper": "5.10.3", "react-native-performance": "5.0.0", "react-native-safe-area-context": "4.10.8", "react-native-screens": "3.32.0", "react-native-sound": "0.11.2", "react-native-splash-screen": "3.3.0", "react-native-svg": "13.13.0", "react-native-svg-transformer": "1.2.0", "react-native-tab-view": "3.5.2", "react-native-url-polyfill": "2.0.0", "react-native-video": "6.0.0-alpha.11", "react-native-watch-connectivity": "1.1.0", "react-native-webrtc": "124.0.4", "react-native-webview": "13.8.7", "react-native-youtube-iframe": "2.3.0", "react-redux": "7.2.9", "react-textarea-autosize": "8.3.0", "react-window": "1.8.6", "react-youtube": "10.1.0", "redux": "4.0.4", "redux-thunk": "2.4.1", "seamless-scroll-polyfill": "2.1.8", "semver": "7.5.4", "text-encoding": "0.7.0", "tss-react": "4.9.4", "util": "0.12.1", "uuid": "8.3.2", "wasm-check": "2.0.1", "webm-duration-fix": "1.0.4", "windows-iana": "3.1.0", "zxcvbn": "4.4.2" }, "devDependencies": { "@babel/core": "7.24.7", "@babel/eslint-parser": "7.24.7", "@babel/plugin-proposal-export-default-from": "7.24.7", "@babel/preset-env": "7.24.7", "@babel/preset-react": "7.24.7", "@jitsi/eslint-config": "4.1.10", "@react-native/metro-config": "0.73.5", "@types/amplitude-js": "8.16.5", "@types/audioworklet": "0.0.29", "@types/dom-screen-wake-lock": "1.0.1", "@types/js-md5": "0.4.3", "@types/lodash-es": "4.17.12", "@types/moment-duration-format": "2.2.6", "@types/offscreencanvas": "2019.7.2", "@types/pixelmatch": "5.2.5", "@types/punycode": "2.1.0", "@types/react": "17.0.14", "@types/react-dom": "17.0.14", "@types/react-linkify": "1.0.1", "@types/react-native-keep-awake": "2.0.3", "@types/react-native-video": "5.0.14", "@types/react-redux": "7.1.24", "@types/react-window": "1.8.5", "@types/unorm": "1.3.28", "@types/uuid": "8.3.4", "@types/w3c-image-capture": "1.0.6", "@types/w3c-web-hid": "1.0.3", "@types/zxcvbn": "4.4.1", "@typescript-eslint/eslint-plugin": "5.59.5", "@typescript-eslint/parser": "5.59.5", "babel-loader": "9.1.0", "babel-plugin-optional-require": "0.3.1", "circular-dependency-plugin": "5.2.0", "clean-css-cli": "4.3.0", "css-loader": "6.8.1", "eslint": "8.40.0", "eslint-plugin-import": "2.27.5", "eslint-plugin-jsdoc": "46.2.6", "eslint-plugin-react": "7.32.2", "eslint-plugin-react-native": "4.0.0", "eslint-plugin-typescript-sort-keys": "2.3.0", "jetifier": "1.6.4", "metro-react-native-babel-preset": "0.77.0", "patch-package": "6.4.7", "process": "0.11.10", "sass": "1.26.8", "style-loader": "3.3.1", "traverse": "0.6.6", "ts-loader": "9.4.2", "typescript": "5.0.4", "unorm": "1.6.0", "webpack": "5.76.0", "webpack-bundle-analyzer": "4.4.2", "webpack-cli": "4.9.0", "webpack-dev-server": "4.15.2" }, "overrides": { "@xmldom/xmldom": "0.8.7" }, "engines": { "node": ">=20.0.0", "npm": ">=10.0.0" }, "license": "Apache-2.0", "scripts": { "lint": "eslint --ext .js,.ts,.tsx --max-warnings 0 . && tsc --noEmit", "tsc:web": "tsc --noEmit --project tsconfig.web.json", "tsc:native": "tsc --noEmit --project tsconfig.native.json", "tsc:ci": "npm run tsc:web && npm run tsc:native", "lint:ci": "eslint --ext .js,.ts,.tsx --max-warnings 0 .", "lint:lang": "for file in lang/*.json; do npx --yes jsonlint -q $file || exit 1; done", "lang-sort": "./resources/lang-sort.sh", "lint-fix": "eslint --ext .js,.ts,.tsx --max-warnings 0 --fix .", "postinstall": "patch-package --error-on-fail && jetify", "validate": "npm ls", "tsc-test:web": "tsc --project tsconfig.web.json --listFilesOnly | grep -v node_modules | grep native", "tsc-test:native": "tsc --project tsconfig.native.json --listFilesOnly | grep -v node_modules | grep web", "start": "make dev" }, "resolutions": { "@types/react": "17.0.14", "@types/react-dom": "17.0.14" } }

`

patelnishantk commented 1 week ago

+1 Same for us