Open benzmuircroft opened 1 year ago
happens actually on ether of:
const Hyperswarm = require('hyperswarm')
// and
const Hyperswarm = await import('hyperswarm')
both these lines cause the crash. I'm using node v20.9.0 and hyperswarm@next
error goes away with uninstalling hyperswarm@next and just use hyperswarm instead
The next tag points to an ancient version of hyperswarm (3.0.4), so the issue was simply using the next tag.
Would probably be better to delete that tag from npm though, to avoid confusion