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

TypeError: module.register is not a function #13415

Open
terrablue opened this issue Aug 19, 2024 · 0 comments
Open

TypeError: module.register is not a function #13415

terrablue opened this issue Aug 19, 2024 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@terrablue
Copy link

What version of Bun is running?

1.1.24+85a329911

What platform is your computer?

Linux 6.10.5-arch1-1 x86_64 unknown

What steps can reproduce the bug?

git clone -b node/module https://github.com/primatejs/playground && cd playground && bun run bun

What is the expected behavior?

No errors, like when running bun run node.

What do you see instead?

TypeError: module.register is not a function. (In 'module.register("./register.js", import.meta.url)', 'module.register' is undefined)
      at /home/blue/projects/primatejs/playground/app.js:3:8

Additional information

Possibly not a bug but a feature request, unclear as per #798

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant