You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: Deno 2.0.6
The Deno docs specify that glob and globSync should be exported from node:fs and glob from node:fs/promises, but these seem to not be exported or defined.
error: Uncaught SyntaxError: The requested module 'node:fs' does not provide an export named 'glob'
import { glob } from "node:fs";
^
error: Uncaught SyntaxError: The requested module 'node:fs' does not provide an export named 'globSync'
import { globSync } from "node:fs";
^
error: Uncaught SyntaxError: The requested module 'node:fs/promises' does not provide an export named 'glob'
import { glob } from "node:fs/promises";
^
edit: also, if Deno is actually supposed to add glob and globSync, shouldn't an equivalent function be available from Deno's built-in filesystem api? it seems strange to only add it to node:fs
The text was updated successfully, but these errors were encountered:
thonkinator
changed the title
glob does not exist in node:fs and node:fs/promises
glob does not exist in node:fs and node:fs/promisesNov 20, 2024
thonkinator
changed the title
glob does not exist in node:fs and node:fs/promisesglob does not exist in node:fs and node:fs/promisesNov 20, 2024
Version: Deno 2.0.6
The Deno docs specify that
glob
andglobSync
should be exported fromnode:fs
andglob
fromnode:fs/promises
, but these seem to not be exported or defined.edit: also, if Deno is actually supposed to add
glob
andglobSync
, shouldn't an equivalent function be available from Deno's built-in filesystem api? it seems strange to only add it tonode:fs
The text was updated successfully, but these errors were encountered: