-
Notifications
You must be signed in to change notification settings - Fork 79
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
Node.js 10 requirement and more issues? #11
Comments
The AddressInfo bug came from |
NodeJS 10.* does not need the crypto polyfill (see https://github.com/AlCalzone/node-dtls-client/blob/master/install/postinstall.js), so no local compilation is needed then. For versions < 10.* it should still work properly, given the prerequisites for node-gyp: https://github.com/nodejs/node-gyp#installation -- which is covered on Windows with the buildtools:
I will add this to the README for Linux and MacOS. |
The recent updates resolved the afore mentioned issues for node v10. Running Maybe an issue on my machine/installation. Do others experience the same issue?
For the last issue about Travis I opened another issue (see #22). |
Works for me on the "good" old Windows 7. I remember an issue with the free Visual Studio compilers for Windows 10 and the need to manually install a specific version. Which Windows and for 10 which build do you have? |
I am on Windows7 too. Anyhow, node10 works... might really an issue n my side and I think we can close the issue |
A recent update related to coap-binding seems to require Node.js 10 to successfully run
npm run bootstrap
...With version 8 I get lots of issues (e.g. also related to #10) while with Node.js 10 everything seems to work fine again.
node_modules/@types/ws/index.d.ts(179,24): error TS2694: Namespace '"net"' has no exported member 'AddressInfo'.
Adding the following to ws.ts for example does the trick
declare module 'net' {export interface AddressInfo {} }
The text was updated successfully, but these errors were encountered: