Closed Beamanator closed 3 years ago
Thanks for reporting, we should be able to fix this with the following patch. Happy to accept a PR if you're able.
- const fs = require("fs/promises");
+ const fs = require("fs").promises;
@lovell No problem :) Done 👍
Thanks for the PR, published as v0.0.2
FYI, I got an error from
require("fs/promises")
- mentioned in this stack-overflow question when trying to runnpx avif
with node version 12.13.1Looks like you may need node > 12.19
Feel free to close this issue if you want, I am just mentioning it b/c you said "requires Node.js 10+" in the Readme :)