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

aaa_dbmmods_dependencies_MOD.js ERR_REQUIRE_ESM #1051

Open
RandomBagel opened this issue Aug 30, 2024 · 1 comment
Open

aaa_dbmmods_dependencies_MOD.js ERR_REQUIRE_ESM #1051

RandomBagel opened this issue Aug 30, 2024 · 1 comment
Labels
s: unverified type: bug Bug related to code base, behavior, displaying, etc.

Comments

@RandomBagel
Copy link

Error [ERR_REQUIRE_ESM]: require() of ES Module ...node_modules\replace-string\index.js from ...actions\aaa_dbmmods_dependencies_MOD.js not supported.
Instead change the require of index.js in ...actions\aaa_dbmmods_dependencies_MOD.js to a dynamic import() which is available in all CommonJS modules.

(the error above is for replace-string, but has been occuring for other modules such as chalk.)

aaa dependencies is seemingly incompatible with alot of modules. The solutions found seem to be to downgrade whatever module is seen in the error. (npm i [email protected]) This probably should be fixed.

@RandomBagel RandomBagel added s: unverified type: bug Bug related to code base, behavior, displaying, etc. labels Aug 30, 2024
@OneAndOnlyFinbar
Copy link
Contributor

This isn't really an issue with the mod dependency updater, more so that as packages update some drop support for commonjs and require a manual downgrade. Not really something we can fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s: unverified type: bug Bug related to code base, behavior, displaying, etc.
Projects
None yet
Development

No branches or pull requests

2 participants