Skip to content

issue when running all demo examples #1

@dambrioo

Description

@dambrioo

This is a great tool but I have always the same error running all demo scripts:

registerBasicType: { name: 'SessionAuthenticationToken', subType: 'NodeId' }
/opt/node-wot-opcua-tools/node_modules/node-opcua-factory/source/factories_basic_type.ts:56
throw new Error(Basic Type ${schema.name} already registered);
^
Error: Basic Type SessionAuthenticationToken already registered
at registerBasicType (/opt/node-wot-opcua-tools/node_modules/node-opcua-factory/source/factories_basic_type.ts:56:15)
at Object. (/opt/node-wot-opcua-tools/node_modules/node-opcua-client/node_modules/node-opcua-service-session/source/SessionAuthenticationToken.ts:11:18)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Object.require.extensions. [as .js] (/usr/local/lib/node_modules/ts-node/src/index.ts:1608:43)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:101:18)
at Object. (/opt/node-wot-opcua-tools/node_modules/node-opcua-client/node_modules/node-opcua-service-session/source/index.ts:16:1)

What should I do? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions