-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
node:module register is not a function #23201
Comments
This is trouble, it's essentially custom loaders: https://nodejs.org/docs/latest/api/module.html#customization-hooks that need to be executed before the actual code is executed. |
I wonder if it might be best to bypass this module somehow. The sole purpose of the |
The the |
I would benefit from Deno supporting that. @bartlomieju FWIW, Node has a static and dynamic mode for that. With the Interestingly enough, normal (static) imports from post-registration dynamically loaded modules seem to also work in my tests. |
Version: deno 1.42.1+92a8ada
https://nodejs.org/docs/latest/api/module.html#moduleregisterspecifier-parenturl-options
The text was updated successfully, but these errors were encountered: