-
Notifications
You must be signed in to change notification settings - Fork 1
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 when running in Cloudflare Workers #1
Comments
The talented @robmarsher has a solution. The bug is in the invoke function:
|
Yes, cloudflare's workerd seemed to suddenly not like the I love how simple the code is for this project. Thank you so much for publishing it. |
I appreciate your work on this project. Without it, it would take much longer to hash passwords with plain javascript.
Unfortunately, I receive this error when I attempt to hash a password:
A hanging Promise was canceled. This happens when the worker runtime is waiting for a Promise from JavaScript to resolve, but has detected that the Promise cannot possibly ever resolve because all code and events related to the Promise's I/O context have already finished.
I'm on the latest version of workerd and miniflare.
Please let me know if you need anything from me.
The text was updated successfully, but these errors were encountered: