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

error #10

Open
charugaa opened this issue Sep 29, 2022 · 1 comment
Open

error #10

charugaa opened this issue Sep 29, 2022 · 1 comment

Comments

@charugaa
Copy link

root@node-red:/opt/mqtt2opcua# node examples/run.js
OPC Server Initialized
Error: expecting a valid port (number)
at OPCUAServer.createEndpointDescriptions (/opt/mqtt2opcua/node_modules/node-opcua-server/dist/opcua_server.js:2379:19)
at OPCUAServer. (/opt/mqtt2opcua/node_modules/node-opcua-server/dist/opcua_server.js:558:39)
at Generator.next ()
at /opt/mqtt2opcua/node_modules/node-opcua-server/dist/opcua_server.js:15:71
at new Promise ()
at __awaiter (/opt/mqtt2opcua/node_modules/node-opcua-server/dist/opcua_server.js:11:12)
at OPCUAServer._delayInit (/opt/mqtt2opcua/node_modules/node-opcua-server/dist/opcua_server.js:531:33)
at OPCUAServer. (/opt/mqtt2opcua/node_modules/node-opcua-server/dist/opcua_server.js:674:28)
at Generator.next ()
at /opt/mqtt2opcua/node_modules/node-opcua-server/dist/opcua_server.js:15:71

@henjoe
Copy link

henjoe commented Nov 20, 2022

Hi, I don't know if you already solve this.
Simply make this configuration under run.js as number (simply remove the double quoation mark)

image

Have you run your server successfully? I am having error too.

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

2 participants