I got this JavaScript error when I want to start app. Tested on Linux Mint and Win10.
A JavaScript error occurred in the main process
Uncaught Exception:
Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/lib/google-chat-electron/resources/app.asar/node_modules/mimic-response/index.js from /usr/lib/google-chat-electron/resources/app.asar/node_modules/decompress-response/index.js not supported.
Instead change the require of /usr/lib/google-chat-electron/resources/app.asar/node_modules/mimic-response/index.js in /usr/lib/google-chat-electron/resources/app.asar/node_modules/decompress-response/index.js to a dynamic import() which is available in all CommonJS modules.
at c._load (node:electron/js2c/node_init:2:13672)
at Object. (/usr/lib/google-chat-electron/resources/app.asar/node_modules/decompress-response/index.js:4:23)
at c._load (node:electron/js2c/node_init:2:13672)
at async node:electron/js2c/browser_init:2:120964
I got this JavaScript error when I want to start app. Tested on Linux Mint and Win10.
A JavaScript error occurred in the main process Uncaught Exception: Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/lib/google-chat-electron/resources/app.asar/node_modules/mimic-response/index.js from /usr/lib/google-chat-electron/resources/app.asar/node_modules/decompress-response/index.js not supported. Instead change the require of /usr/lib/google-chat-electron/resources/app.asar/node_modules/mimic-response/index.js in /usr/lib/google-chat-electron/resources/app.asar/node_modules/decompress-response/index.js to a dynamic import() which is available in all CommonJS modules. at c._load (node:electron/js2c/node_init:2:13672) at Object. (/usr/lib/google-chat-electron/resources/app.asar/node_modules/decompress-response/index.js:4:23)
at c._load (node:electron/js2c/node_init:2:13672)
at async node:electron/js2c/browser_init:2:120964