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

fix(resolver): Remove node: prefix #1368

Closed
wants to merge 1 commit into from
Closed

fix(resolver): Remove node: prefix #1368

wants to merge 1 commit into from

Conversation

pawelgrzybek
Copy link

@pawelgrzybek pawelgrzybek commented Nov 9, 2021

Purpose

Adding node: prefix caused an Error: Cannot find module 'node:http' error in AWS Lambda runtime (and potentially others). This PR fixes it by removing a prefix.

Changes

  • Removes node: prefix from global module imports

Additional information

@jimmywarting jimmywarting changed the title Closes #1367: Remove node: prefix fix(resolver): Remove node: prefix Nov 9, 2021
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

Successfully merging this pull request may close these issues.

Cannot find module 'node:http` on AWS Lambda v14
2 participants