emscripten-core / emscripten-core/emscripten

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

Open
#23,084 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.