Skip to content

nodejs compat: implement fs.glob #5416

@mb21

Description

@mb21

The docs say:

The fs.globSync() and other glob APIs have not yet been implemented.

And when I try:

import fs from "node:fs/promises";

fs.glob("*")

I get:

Uncaught Error: The requested operation is unsupported

    at null.<anonymous> (node-internal:internal_fs_promises:437:11) in glob

Thanks for considering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions