Comments (5)
The AddressInfo bug came from @types/ws
: DefinitelyTyped/DefinitelyTyped#25890
It is fixed in 5.1.2, which is now the dependency for node-wot (5e68104).
from node-wot.
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:
- Python 2.7
- make
- GCC
I will add this to the README for Linux and MacOS.
from node-wot.
The recent updates resolved the afore mentioned issues for node v10.
Running npm install -g --production windows-build-tools
in CMD shell as administrator, as described in https://github.com/eclipse/thingweb.node-wot#windows, did NOT work for me with node v8.
Maybe an issue on my machine/installation. Do others experience the same issue?
> [email protected] install:default D:\Projects\WoT\thingweb\thingweb.node-
wot\packages\binding-coap\node_modules\node-dtls-client\node_modules\node-aead-c
rypto
> node-pre-gyp install --fallback-to-build
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
D:\Projects\WoT\thingweb\thingweb.node-wot\packages\binding-coap\node_modules\no
de-dtls-client\node_modules\node-aead-crypto\build\node_aead_crypto.vcxproj(20,3
): error MSB4019: The imported project "D:\Microsoft.Cpp.Default.props" was not
found. Confirm that the path in the <Import> declaration is correct, and that th
e file exists on disk.
Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\mchn4310\AppData\Ro
aming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallbac
k-to-build --module=D:\Projects\WoT\thingweb\thingweb.node-wot\packages\binding-
coap\node_modules\node-dtls-client\node_modules\node-aead-crypto\build\Release\n
ode-v57-win32-x64\node_aead_crypto.node --module_name=node_aead_crypto --module_
path=D:\Projects\WoT\thingweb\thingweb.node-wot\packages\binding-coap\node_modul
es\node-dtls-client\node_modules\node-aead-crypto\build\Release\node-v57-win32-x
64 --napi_version=3 --node_abi_napi=napi' (1)
at Promise.all.then.arr (D:\Projects\WoT\thingweb\thingweb.node-wot\node_mod
ules\lerna\node_modules\execa\index.js:236:11)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
code: 1,
killed: false,
stdout: '\n> [email protected] install D:\\Projects\\WoT\\thingweb\\thing
web.node-wot\\packages\\binding-coap\\node_modules\\node-dtls-client\n> node ins
tall/postinstall.js\n\nnode-dtls-client: testing NodeJS version\n Version < 10,
installing node-aead-crypto...\n\n> [email protected] install D:\\Projects
\\WoT\\thingweb\\thingweb.node-wot\\packages\\binding-coap\\node_modules\\node-d
tls-client\\node_modules\\node-aead-crypto\n> node lib/install.js\n\nrunning def
ault installation script\n\n> [email protected] install:default D:\\Project
s\\WoT\\thingweb\\thingweb.node-wot\\packages\\binding-coap\\node_modules\\node-
dtls-client\\node_modules\\node-aead-crypto\n> node-pre-gyp install --fallback-t
o-build\n\nBuilding the projects in this solution one at a time. To enable paral
lel build, please add the "/m" switch.\r\nD:\\Projects\\WoT\\thingweb\\thingweb.
node-wot\\packages\\binding-coap\\node_modules\\node-dtls-client\\node_modules\\
node-aead-crypto\\build\\node_aead_crypto.vcxproj(20,3): error MSB4019: The impo
...
For the last issue about Travis I opened another issue (see #22).
from node-wot.
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?
from node-wot.
I am on Windows7 too.
Anyhow, node10 works... might really an issue n my side and I think we can close the issue
from node-wot.
Related Issues (20)
- Design questions around the `exploreDirectory` method HOT 6
- AID Schema Update and example AAS (that has modbus AID) with "created", "modified" and "support" terms.
- AID - Terms on affordance level and form level HOT 1
- InteractionOutput.value() throws an error for Actions with no output DataSchema HOT 5
- emitPropertyChange merges payloads - race condition? HOT 1
- HTTP Longpolling times out after 1 hour HOT 1
- Error when performing observeProperty with binding-coap
- Modbus readme is outdated
- Should AID tools name be changed to interfaceS ? HOT 1
- Modbus polling rate is understood false
- Calling HttpServer's stop method in binding-http returns nothing HOT 3
- [AID] Absolute URL creation is wrong (TD to AID process) HOT 2
- Subscribing to events using CoAP returns `undefined`
- No response from MQTT Binding readProperty method HOT 1
- Setting cookie from Response Header Set-Cookie HOT 3
- InteractionOutput - no schema/schema.type and the expectations of the value() function HOT 2
- Aligning ajv usage HOT 1
- HTTP Client sends wildcard content type even if a form is selected HOT 3
- Moving AID tooling to td-tools repository HOT 2
- Response not valid if charset is indicated in header HOT 1
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 node-wot.