#`Cannot find module 'crypto'` is this a known issue?
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
I have @types/node installed, and "types": ["node"] attached to compiler options in tsconfig file. Not sure what I'm missing.
Btw. the crypto library works at runtime, and I can use its API's. There's only type issue
If add webstreams-polyfill package and import that in your index.astro should solve this problem
Is there a documentation shows how to import and use it?
Just imported as import 'web-streams-polyfill'; in my index.astro file and didn't solve