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

feat(src): fix fs promise on different node version #1

Closed

Conversation

zhijs
Copy link

@zhijs zhijs commented May 26, 2021

hi~, i am using this package on my project, and i got this error 'Cannot find module 'fs/promises'', my node version is v12.20.1, so it's better that this package can be use on different node version, that's why i pull this request. fs promise api detail can be found in Update fs.md

@aheissenberger
Copy link
Owner

Thank you for the link with Table showing the supported syntax.
New Version 1.1.1 is using the old import and should now also work for node >=10.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants