Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue when running all demo examples #1

Open
dambrioo opened this issue Mar 10, 2023 · 0 comments
Open

issue when running all demo examples #1

dambrioo opened this issue Mar 10, 2023 · 0 comments

Comments

@dambrioo
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant