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.
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.