OxooxoO
Denoβ€’12mo ago
Oxooxo

error: module 'node:fs' does not provide an export named 'globSync'

Documentation (https://docs.deno.com/api/node/fs/~/globSync) says:

import { globSync } from "node:fs";

But that just doesn't work.

error: Uncaught SyntaxError: The requested module 'node:fs' does not provide an export named 'globSync' import { globSync } from "node:fs"; ^

How can I get it working?
Deno
In-depth documentation, guides, and reference materials for building secure, high-performance JavaScript and TypeScript applications with Deno
globSync - fs - Node - Deno Docs
Was this page helpful?