Comments (5)
I think node-fetch
should be added to this lib's dep list because the problem does exist when you use another lib that brings dns-over-http-resolver
in.
For example, my project uses [email protected]
and is facing the same issue:
/home/froyer/src/status-im/js-waku/node_modules/native-fetch/src/index.js
Cannot find module: 'node-fetch'. Make sure this package is installed.
from dns-over-http-resolver.
Hey folks, thanks for reaching out and apologies for the late answer.
We need to use an environment agnostic fetch implementation here, given we want to support both browser and Node.js.
We can go with https://github.com/web-std/io/tree/main/fetch to make this possible. Any of you would like to submit a PR?
from dns-over-http-resolver.
The multi-platform compatibility does make this harder to tackle. Axios and isomorphic-fetch are another 2 possible platform-agnostic tools that may help.
As I do not need to use this library anymore, I won't have enough time and testing cases for making a fix. The issue can be kept open to track the progress tho.
from dns-over-http-resolver.
It somehow got fixed in my project after some npm clean up 🤔
from dns-over-http-resolver.
🎉 This issue has been resolved in version 2.1.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
from dns-over-http-resolver.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dns-over-http-resolver.