Skip to content

WASI FS does not work with latest NodeJS versions #484

@fzhinkin

Description

@fzhinkin

WASI-based FS implementation does not work with latest NodeJS versions.

Previously, operations accepting paths worked with absolute path as long as path's prefix was matching a directory corresponding to the fd. In other words, if there was a file descriptor corresponding to the /tmp directory, operations working with path were accepting absolute paths like /tmp/foo.

After nodejs/node#59791 it's no longer the case, an attempt to pass an absolute path will end with the notcapable error.

I tested the following versions:

  • 22.20.0
  • 25.0.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions