Skip to content

Update README.md with node version req. #3

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thhck
Copy link

@thhck thhck commented Mar 24, 2025

I had a hard time tracking a bug that came from using nvm 18 ( braid-http is using Blob which is only available on node 20 )

I had a hard time tracking a bug that came from using nvm 18 ( braid-http is using Blob which is only available on node 20 )
@toomim
Copy link
Member

toomim commented Mar 24, 2025

Oh, I see. Thanks for finding this.

I feel the pain of having it not work. I think we should just switch to the older more-compatible API (buffer or typed array) so that people don't even run into this bug and we don't need the warning. Looking into it.

@dglittle
Copy link
Contributor

I have checked in fixes that should make it work in node 18 (and 16) -- it seems that 18 does have Blob, but "crypto" is not available without requiring it, and the version of crypto in 16 has some functions in some different places.

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.

3 participants