New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReferenceError: EISDIR is not defined | node pollyfill is missing a constant #23695
Labels
Comments
For completeness: These are the steps to reproduce the error.
import fs from "node:fs";
import * as path from "node:path";
const dir = path.join(import.meta.dirname!, "foo");
fs.rmSync(dir);
|
marvinhagemeister
added a commit
that referenced
this issue
May 16, 2024
bartlomieju
pushed a commit
that referenced
this issue
May 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: Deno 1.42.4
The following code is resulting in an error
see: https://github.com/denoland/deno/blob/main/ext/node/polyfills/internal/fs/utils.mjs
Most likely the linked code needs to be updated to:
The error that I see.
(I can work around it by setting options.force, however, this seems like a bug).
The text was updated successfully, but these errors were encountered: