Replies: 1 comment
-
Thanks for opening the PR and discussion. For reference, there's been some prior discussion here: #8555 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in booter-utils.ts there is a dynamic require on files from external code with loadClassesFromFiles.
It would be great to make this method async and use dynamic import that works with commonjs and module.
actually error is:
Error [ERR_REQUIRE_ESM]: require() of ES Module ...
Instead change the require of auth.controller.auth.js in ...\node_modules@loopback\boot\dist\booters\booter-utils.js to a dynamic import() which is available in all CommonJS modules.
I propose:
#8754
Beta Was this translation helpful? Give feedback.
All reactions