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

_j.split is not a function #84

Open
linkworx-stijnvandenbroucke opened this issue Sep 23, 2024 · 4 comments
Open

_j.split is not a function #84

linkworx-stijnvandenbroucke opened this issue Sep 23, 2024 · 4 comments

Comments

@linkworx-stijnvandenbroucke

Hi, I have a fatal error aftere update

23 Sep 08:33:06 - [red] Uncaught Exception:
23 Sep 08:33:06 - [error] TypeError: _j.split is not a function
at init. (/home/grafana/.node-red/node_modules/node-red-contrib-unifi-os/build/nodes/Protect.js:233:105)
at Generator.next ()
at /home/grafana/.node-red/node_modules/node-red-contrib-unifi-os/build/nodes/Protect.js:31:71
at new Promise ()
at __awaiter (/home/grafana/.node-red/node_modules/node-red-contrib-unifi-os/build/nodes/Protect.js:27:12)
at Object.handleUpdate (/home/grafana/.node-red/node_modules/node-red-contrib-unifi-os/build/nodes/Protect.js:139:40)
at /home/grafana/.node-red/node_modules/node-red-contrib-unifi-os/build/SharedProtectWebSocket.js:175:22
at Array.forEach ()
at SharedProtectWebSocket.processData (/home/grafana/.node-red/node_modules/node-red-contrib-unifi-os/build/SharedProtectWebSocket.js:173:37)
at WebSocket.emit (node:events:517:28)
at WebSocket.emit (node:domain:489:12)
at Receiver.receiverOnMessage (/home/grafana/.node-red/node_modules/node-red-contrib-unifi-os/node_modules/ws/lib/websocket.js:1220:20)
at Receiver.emit (node:events:517:28)
at Receiver.emit (node:domain:489:12)
at Receiver.dataMessage (/home/grafana/.node-red/node_modules/node-red-contrib-unifi-os/node_modules/ws/lib/receiver.js:569:14)
at Receiver.getData (/home/grafana/.node-red/node_modules/node-red-contrib-unifi-os/node_modules/ws/lib/receiver.js:496:10)
at Receiver.startLoop (/home/grafana/.node-red/node_modules/node-red-contrib-unifi-os/node_modules/ws/lib/receiver.js:167:16)
at Receiver._write (/home/grafana/.node-red/node_modules/node-red-contrib-unifi-os/node_modules/ws/lib/receiver.js:94:10)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Receiver.Writable.write (node:internal/streams/writable:337:10)
at TLSSocket.socketOnData (/home/grafana/.node-red/node_modules/node-red-contrib-unifi-os/node_modules/ws/lib/websocket.js:1355:35)

@linkworx-stijnvandenbroucke
Copy link
Author

@crxporter Something I can assist to solve this?

@crxporter
Copy link
Member

What is your nodered version and node version?

@linkworx-stijnvandenbroucke
Copy link
Author

@crxporter
Copy link
Member

I was looking for nodejs version, too.
Screenshots did not come through.

Interesting that it works as expected with just one node. Let's get @marcus-j-davies attention if he's got a moment to look

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