-
Notifications
You must be signed in to change notification settings - Fork 24
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
Error: Cannot find module 'fs/promises' in Node 12.x #57
Comments
ThePlenkov
added a commit
to ThePlenkov/hana-developer-cli-tool-example
that referenced
this issue
Jul 6, 2021
* no user-defined types (#9) * Version 2.202105.9 * Integrate mass rename proposal * Fixes for rename without namespace * Update README.md * Update README.md * Update README.md * Remove AFL Lang from hdiconfig on HANA Cloud * Fix connect issue in clean system * Fix Issue SAP-samples#56 * Fix Issue SAP-samples#57 Co-authored-by: Thomas Jung <[email protected]>
F |
f |
1 similar comment
f |
F |
1 similar comment
F |
f |
F |
1 similar comment
F |
f |
F |
F |
1 similar comment
F |
f |
f |
F |
1 similar comment
F |
WillRock19
added a commit
to WillRock19/TikTakToe
that referenced
this issue
Mar 25, 2023
Removed Node 12.x version because it was breaking the build (see the reason here: SAP-samples/hana-developer-cli-tool-example#57)
F |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tool crashes with Error: Cannot find module 'fs/promises' when used in Node 12.x. This is due to this feature being introduced in Node 10 but then removed in later patches for Node 10 and Node 12. Works fine in Node 14. Node.js documentation was incorrectly listing this as supported in Node 12. See nodejs/node#35740
Will fix in hana-cli by changing to
require('fs').promises
The text was updated successfully, but these errors were encountered: