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

Require does not work with the node prefix (i.e. : node:console) #309

Closed
fredbonin opened this issue Mar 27, 2024 · 1 comment
Closed

Require does not work with the node prefix (i.e. : node:console) #309

fredbonin opened this issue Mar 27, 2024 · 1 comment
Assignees

Comments

@fredbonin
Copy link
Contributor

When using require with the node: prefix, LLRT will not find the module.

To reproduce :

  let {Console} = require("node:console");
  const consoleObj = new Console({
    stdout: process.stdout,
    stderr: process.stderr,
  });

This causes issues with Powertools (#251)

@richarddavison
Copy link
Contributor

Fixed in #310

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