node-wot icon indicating copy to clipboard operation
node-wot copied to clipboard

OPC-UA example from README not working

Open danielpeintner opened this issue 1 year ago • 20 comments

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?

danielpeintner avatar Jun 09 '23 08:06 danielpeintner