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

Why is 'wasi' module not displayed? #16

Closed
Neos21 opened this issue Aug 5, 2022 · 2 comments
Closed

Why is 'wasi' module not displayed? #16

Neos21 opened this issue Aug 5, 2022 · 2 comments

Comments

@Neos21
Copy link

Neos21 commented Aug 5, 2022

I have a small question.
When I use the package, the wasi module was not included in the list.
But the builtin-modules.json is including it.
What is this difference?

@Neos21
Copy link
Author

Neos21 commented Aug 5, 2022

My environment:

  • MacBook Pro 16-inch 2019
  • Node.js v18.5.0
$ sw_vers
ProductName:    macOS
ProductVersion: 12.4
BuildVersion:   21F79

$ node -v
v18.5.0

$ npm -v
8.12.1

@sindresorhus
Copy link
Owner

It requires the --experimental-wasi-unstable-preview1 flag per Node.js docs.

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