The Wayback Machine - https://web.archive.org/web/20201201175135/https://github.com/vercel/pkg/issues/958
Skip to content
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

Snapshot file system incompatible with fs.promises API #958

Open
ddorsett opened this issue Aug 5, 2020 · 1 comment
Open

Snapshot file system incompatible with fs.promises API #958

ddorsett opened this issue Aug 5, 2020 · 1 comment

Comments

@ddorsett
Copy link

@ddorsett ddorsett commented Aug 5, 2020

Switched from "classic" fs.readFile (or promisified version) to fs.promises and fs.promises.readFile() fails to find a file with ENOENT.
The file is definitely there, changing back to promisified fs.readFile() works fine.

Node 12.16.1, pkg 4.4.9

@xanonid
Copy link

@xanonid xanonid commented Oct 21, 2020

@igorklopov There should be a warning on the front-side README.md that the fs.promises API is not (yet?) supported. Is there a plan/roadmap when it will be implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.