Skip to content

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

Open
@hoodmane

Description

@hoodmane

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions