nodekit-io / nodekit-darwin

{NK} NodeKit is the universal, open-source, embedded engine that provides a full ES5 / Node.js instance inside desktop and mobile applications for macOS, iOS, Android, and Windows. [Swift 2.3 Darwin]
http://nodekit.io
Apache License 2.0
22 stars 4 forks source link

ERROR: undefined is not an object (evaluating 'nativeDNS.GetAddrInfo') #4

Open szmudo opened 7 years ago

szmudo commented 7 years ago

The (native) platform DNS module seems to be missing. That's why the message is raised as soon as the dns.lookup is called for a net request.

Issue is caused in cares_wrap.js line 18

var nativeDNS = require('platform').DNS;

Any hint how to get this solved?