You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~$ /home/user/Bureau/MyMonero-1.3.0.AppImage
(node:1228136) Warning: require() of ES modules is not supported.
require() of /tmp/.mount_MyMonefbht0R/resources/app.asar/node_modules/lit/index.js from /tmp/.mount_MyMonefbht0R/resources/app.asar/node_modules/@mymonero/mymonero-web-components/lib/Components/Shared/ActivityIndicator.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /tmp/.mount_MyMonefbht0R/resources/app.asar/node_modules/lit/package.json.
Versions
1.3.0
Operating system: ubuntu
The text was updated successfully, but these errors were encountered:
~$ /home/user/Bureau/MyMonero-1.3.0.AppImage (node:1228136) Warning: require() of ES modules is not supported. require() of /tmp/.mount_MyMonefbht0R/resources/app.asar/node_modules/lit/index.js from /tmp/.mount_MyMonefbht0R/resources/app.asar/node_modules/@mymonero/mymonero-web-components/lib/Components/Shared/ActivityIndicator.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules. Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /tmp/.mount_MyMonefbht0R/resources/app.asar/node_modules/lit/package.json.
Description
warning from CLI, doesn't prevent the app to open
Steps to reproduce
~$ /home/user/Bureau/MyMonero-1.3.0.AppImage
(node:1228136) Warning: require() of ES modules is not supported.
require() of /tmp/.mount_MyMonefbht0R/resources/app.asar/node_modules/lit/index.js from /tmp/.mount_MyMonefbht0R/resources/app.asar/node_modules/@mymonero/mymonero-web-components/lib/Components/Shared/ActivityIndicator.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /tmp/.mount_MyMonefbht0R/resources/app.asar/node_modules/lit/package.json.
Versions
The text was updated successfully, but these errors were encountered: