node-wot
node-wot copied to clipboard
OPC-UA example from README not working
I tried to run the OPC-UA example demo-opcua1.ts
from README (see gist for full code).
When trying to run it I get the following error
Cannot figure out field category for { name: 'value', fieldType: 'Variant', defaultValue: null }
...\node_modules\node-opcua-factory\dist\builtin_types.js:262
throw new Error("Cannot find schema for simple type " + name);
The issue seems to come from node-opcua and not from node-wot code. @erossignon do you have any advice?