OrahKokos/coinpayments

Can't resolve 'crypto'

Closed this issue · 2 comments

./node_modules/coinpayments/dist/internal.js
Module not found: Error: Can't resolve 'crypto' in 'D:\Raven\RavenFrontend\node_modules\coinpayments\dist'

I am getting this error once i call create transaction api.

Greetings friend.
This seems to be your development env issue. 'crypto' is a core nodeJS lib that should be available if you run your env properly.
Good luck

Thanks I was trying to use transaction api in angular, Now working with nodeJS. Thanks Again.