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

test_fs_nodefs_statvfs fails with fs.statfsSync is not a function when running locally #23084

Open
hoodmane opened this issue Dec 5, 2024 · 0 comments

Comments

@hoodmane
Copy link
Contributor

hoodmane commented Dec 5, 2024

I think the version of node being used is too old. I'm not sure how it's determined. Looks like it came from #22932. fs.statfsSync was added in Node v18.15.0

-- begin program output --
Testing statfs for path: /
Testing statfs for path: /working
/tmp/emtest_ujy7com6/emscripten_test_core0_ov_ahfvn/test_nodefs_statvfs.js:2230
          var stats = NODEFS.tryFSOperation(() => fs.statfsSync(path));
                                                     ^

TypeError: fs.statfsSync is not a function
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

1 participant