Closed msaperst closed 2 years ago
The module fs/promises
is available in Node.js version 14+. Please try upgrading your Node.
I'll update the package.json
and add this requirement.
I published a new version (0.0.21), which has the required Node.js version specified in the package.json
. This information is now in the README.md
aswell.
Installing with an unsupported version (lower than 14) will show warnings in the console.
Upgrading to 0.0.19 doesn't work, it throws the error:
Error: Cannot find module 'fs/promises'
This appears to usually caused by missing node modules or package-lock.json files, but all of these are present.