Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning shown when opening the appimage from terminal #508

Open
mikakun opened this issue Aug 23, 2022 · 1 comment
Open

warning shown when opening the appimage from terminal #508

mikakun opened this issue Aug 23, 2022 · 1 comment

Comments

@mikakun
Copy link

mikakun commented Aug 23, 2022

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

  • 1.3.0
  • Operating system: ubuntu
@Leon15001
Copy link

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

  • 1.3.0
  • Operating system: ubuntu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants