Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run on Node 10 #30

Closed
fuyifan opened this issue May 7, 2020 · 2 comments
Closed

Cannot run on Node 10 #30

fuyifan opened this issue May 7, 2020 · 2 comments

Comments

@fuyifan
Copy link

fuyifan commented May 7, 2020

const {
V4MAPPED,
ADDRCONFIG,
promises: {
Resolver: AsyncResolver
},
lookup
} = require('dns');

TypeError: Cannot destructure property Resolver of 'undefined' or 'null'.
at Object. (d:\parapara_oppo\server\LoginServer\node_modules\cacheable-lookup\source\index.js:9:5)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
at Module.load (internal/modules/cjs/loader.js:589:32)
at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
at Function.Module._load (internal/modules/cjs/loader.js:520:3)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)

@szmarczak
Copy link
Owner

Update your Node.js 10 version.

@szmarczak
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants