-
Notifications
You must be signed in to change notification settings - Fork 70
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
fs.promises is undefined #69
Comments
I hit this with
|
@rbtcollins |
Having the same problem with node |
Same problem here |
Had the same problem, adding the code from the PR fixed the issue. Thank you. |
Hi! I'm having the same problem with this. Is there a plan to add a PR for it? |
@Herlix Old PR exists, see referenced items above ^ |
HI! everyone, |
Hi,
fs.promises
isundefined
on some platforms (at least on NixOS). I wasn't able to track down exact problem, but it seems thatwebpack
is doing some magic withfs
.And I think we shouldn't use APIs which are flagged as experimental in Node.js LTS version (like
fs.promises
) because they can (indirectly) cause problems.I suggest to replace
wasm-pack-plugin/plugin.js
Line 120 in 872af9e
with
I'll create PR.
Platform details:
The text was updated successfully, but these errors were encountered: