FS#75129 - [react-native-debugger] Only runs with electron11
Attached to Project:
Community Packages
Opened by MIchael Bauer (TripleSpeeder) - Tuesday, 21 June 2022, 15:10 GMT
Last edited by Nicola Squartini (tensor5) - Sunday, 10 July 2022, 08:45 GMT
Opened by MIchael Bauer (TripleSpeeder) - Tuesday, 21 June 2022, 15:10 GMT
Last edited by Nicola Squartini (tensor5) - Sunday, 10 July 2022, 08:45 GMT
|
Details
Description:
react-native-debugger starts up but does not work. Integrated console shows the following error: Uncaught ReferenceError: module is not defined at bundle.js:2:1 VM121:1 Uncaught TypeError: window.isOpenInEditorEnabled is not a function at <anonymous>:1:8 VM122:1 Uncaught TypeError: window.checkWindowInfo is not a function at <anonymous>:1:8 This seems to be related to using the default electron version. When starting with electron11 it works fine (cmdline: "PACKAGE=no /usr/lib/electron11/electron /usr/lib/react-native-debugger") AFAIK upstream still has the explicit dependency on electron11, so we should probably wait till upstream jumps to a newer version. (From upstream package.json: "electron": "^11.4.6") Additional info: Package version: react-native-debugger 0.12.1-3 Steps to reproduce: Install default electron version (electron 18.2.4-1) Install react-native-debugger Start react-native-debugger |
This task depends upon
Closed by Nicola Squartini (tensor5)
Sunday, 10 July 2022, 08:45 GMT
Reason for closing: Fixed
Additional comments about closing: 0.12.1-4
Sunday, 10 July 2022, 08:45 GMT
Reason for closing: Fixed
Additional comments about closing: 0.12.1-4
Comment by
Nicola Squartini (tensor5) -
Sunday, 10 July 2022, 08:25 GMT
It was mistakenly updated to the latest electron, and the
electron11 package has been removed.