hyper-sdk: Webpack dat-dns not found

When using the dat-sdk as described in the README with Webpack/Vue it does have an issue loading dat-dns:

const SDKPromise = require('dat-sdk/promise')

Error message:

* dns in ./node_modules/node-dat-archive/node_modules/dat-dns/index.js

The sample, see App.vue for the problematic import: datbox.zip

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 20 (14 by maintainers)

Most upvoted comments

Ha ha, okay I think I got it, it’s an SDK bug after all. 😛 Not sure why it isn’t manifesting with browserify. I’ll ping you when I have a fix out.