cmdruid / tapscript

A humble library for working with Tapscript and Bitcoin Transactions.
https://www.npmjs.com/package/@cmdcode/tapscript
Creative Commons Zero v1.0 Universal
196 stars 50 forks source link

crypto is not defined #21

Closed rohitkeshav27 closed 11 months ago

rohitkeshav27 commented 11 months ago

I keep getting this error I dont want to use patch-package (by making changes to the file)

Is there any other easier way to solve this error? Please do reply fast!!

image

cmdruid commented 11 months ago

What version of nodejs are you using? Try upgrading to v19.

rohitkeshav27 commented 11 months ago

Oh yeah ! That was the issue ! I updated the Nodejs version , and it solved the issue

Thanks for the prompt reply !!