fetch-cached-dns
fetch-cached-dns copied to clipboard
Module not fount dns, dgram, ,,,
I get this error when doing follow the guide const fetch = require('@zeit/fetch-cached-dns')(require('node-fetch'))
Module not found: Can't resolve 'dns' in 'C:\Sony\work\saostar\saostar-fe-pc\node_modules\native-dns-cache'
Is there already an solution for this issue? I got the same error.
dns and dgram are standard library https://nodejs.org/api/dgram.html https://nodejs.org/api/dns.html
Which node, npm/yarn versions are you using? And which OS? in node console, does require('dgram') and require('dns') work?