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

Reference ip is not defined #77

Open
sts098 opened this issue Jul 31, 2024 · 1 comment
Open

Reference ip is not defined #77

sts098 opened this issue Jul 31, 2024 · 1 comment

Comments

@sts098
Copy link

sts098 commented Jul 31, 2024

Not sure what I am doing wrong. Installed REM on a Raspberry Pi5. I get an error:

/home/rem/relayEquipmentManager/node_modules/node-ssdp/lib/server.js:33
var _ip = ip.address()
^
ReferenceError: ip is not defined
at SsdpServer.start (/home/rem/relayEquipmentManager/node_modules/node-ssdp/lib/server.js:33:15)
at SsdpServer.init (/home/rem/relayEquipmentManager/web/Server.ts:335:25)
at WebServer.init (/home/rem/relayEquipmentManager/web/Server.ts:51:21)
at /home/rem/relayEquipmentManager/app.ts:20:36
at processTicksAndRejections (node:internal/process/task_queues:95:5)

I set ssdp enabled to false, and REM operates, I can get to the web interface, etc. But NodeJS Pool Controller seems to need SSDP for it to work. (NodeJS Pool Controller is actually loaded on a VM).

Any ideas what I might have done wrong?

@rstrouse
Copy link
Owner

rstrouse commented Aug 1, 2024

In the config.json file disable the SSDP by setting the "enabled" leaf to false

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