Skip to content

OPC-UA example from README not working #1012

Open
@danielpeintner

Description

@danielpeintner

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    binding-opcuaIssues related to opc ua protocol bindingbugSomething isn't workingexamplesIssues related examples in the repository

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions