Skip to content

support nodejs version 20.x (only a problem for testing with client/server in the same process) #1

Open
@williamstein

Description

@williamstein

The following is a minimal reproducible example to show how this doesn't work with node 20 (but does with node 18 and 16).

~/websocketfs$ node
Welcome to Node.js v20.5.1.
Type ".help" for more information.
>  z = await require('.').bind(process.env.HOME,'/tmp/mnt'); null
null
> await require('fs/promises').writeFile('/tmp/mnt/a','foo'); (await require('fs/promises').readFile('/tmp/mnt/a')).toString()
> Uncaught [Error: ETIMEDOUT: connection timed out, open '/tmp/mnt/a'] {
  errno: -110,
  code: 'ETIMEDOUT',
  syscall: 'open',
  path: '/tmp/mnt/a'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions