question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Webpack dat-dns not found

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
RangerMauvecommented, Jan 28, 2020

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.

0reactions
RangerMauvecommented, Feb 6, 2020

This should be fixed if you use the config in #43

Big thanks to @urgent for figuring this out!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing Net and Dns dependencies in webpack #748 - GitHub
joi/lib/string.js Module not found: Error: Cannot resolve module 'net' in /Users/. ... Missing Net and Dns dependencies in webpack #748.
Read more >
webpack-dev-server: command not found - Stack Overflow
I found the accepted answer does not work in all scenarios. ... webpack-dev-server in the command line re-installed the missing folder and fixed...
Read more >
webpack-dev-server: command not found error [Solved]
To solve the error "webpack-dev-server: command not found", install the package globally by running npm install -g webpack-dev-server and restart your terminal.
Read more >
dat-sdk - npm
Dat consists of a bunch of low level building blocks for working with data in ... To bundle with webpack, you'll need to...
Read more >
Dat Consortium Meeting 35 - HackMD
Updates; Manifesto updates (Martin); OC Migration Results (Mauve); DAT-DNS in beaker/agregore (Martin); Documenting all things Dat Ecosystem ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found