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 node imports #196

Closed
wants to merge 2 commits into from
Closed

Fix node imports #196

wants to merge 2 commits into from

Conversation

Moebits
Copy link

@Moebits Moebits commented Nov 3, 2021

Fix the node imports which are broken on newer versions of node

E.g. Error: Cannot find module node:util

Node version: 16.3.0

@sindresorhus
Copy link
Owner

These are completely valid imports: nodejs/node#38343

@Moebits
Copy link
Author

Moebits commented Nov 3, 2021

The imports are not working for me, if it's not a Node issue then it might be Typescript or Electron.

For compatibility sake I suggest that you use the traditional imports, otherwise I will have to stick to using my fork of this project.

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.

2 participants