bitcoinjs / bitcoinjs-lib

A javascript Bitcoin library for node.js and browsers.
MIT License
5.72k stars 2.11k forks source link

Error: Cannot find module 'node:crypto' #2074

Closed wangtao19911111 closed 7 months ago

wangtao19911111 commented 7 months ago

i use node v16.20.1 any solution for this bug? Error: Cannot find module 'node:crypto'

junderw commented 7 months ago

Unfortunately, node v16 is End of Life. We will not offer support.

https://nodejs.org/en/blog/announcements/nodejs16-eol/

wangtao19911111 commented 7 months ago

thanks ,but i used aws ec2 ,its cannt support >node v16, what can i do for this?