Closed sistemd closed 1 year ago
Latest commit: |
5f29ae0
|
Status: | ✅ Deploy successful! |
Preview URL: | https://1861e914.snort-social.pages.dev |
Branch Preview URL: | https://nostr-package-browser-tests.snort-social.pages.dev |
Module not found: Error: Can't resolve '@snort/nostr' in '/opt/buildhome/repo/packages/app/src'
So after dealing with more nonsense from a broken ecosystem, the tests now pass but only on node versions larger than 16.
The root cause is that the uuid
package is trying to use crypto.getRandomValues
in tests. I don't know why it doesn't use node's crypto
module instead. I don't want to know; it's part of the legacy code, and I don't think that trying to fix this is worth the time.
I can now truly call it an isomorphic library: it does in fact work in the browser as well as node. Will implement NIP-07 next.