forked from evs-broadcast/node-emberplus
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I've tried the updated sample code in #7 (comment), updated to replace the IP and port with the IP I have mxGUI running on. I can use the Lawo Ember+ Viewer to see the tree on that IP/port.
The code in the comment has an extra ) on line 4 - client.connect()). If I remove the extra ), I get Uncaught TypeError TypeError: client.connect is not a function
It looks like connect() has been replaced with connectAsync(), but I get a stack dump when I run the code:
C:\Program Files\nodejs\node.exe .\index.js
Uncaught AggregateError AggregateError [ECONNREFUSED]:
at internalConnectMultiple (net:1118:18)
at afterConnectMultiple (net:1685:7)
at callbackTrampoline (internal/async_hooks:130:17)
--- TickObject ---
at init (internal/inspector_async_hook:25:19)
at emitInitNative (internal/async_hooks:202:43)
at emitInitScript (internal/async_hooks:505:3)
at nextTick (internal/process/task_queues:132:5)
at onDestroy (internal/streams/destroy:115:15)
at Socket._destroy (net:835:5)
at _destroy (internal/streams/destroy:121:10)
at destroy (internal/streams/destroy:83:5)
at Writable.destroy (internal/streams/writable:1120:11)
at internalConnectMultiple (net:1118:10)
at afterConnectMultiple (net:1685:7)
at callbackTrampoline (internal/async_hooks:130:17)
--- TCPCONNECTWRAP ---
at init (internal/inspector_async_hook:25:19)
at emitInitNative (internal/async_hooks:202:43)
at internalConnectMultiple (net:1169:24)
at afterConnectMultiple (net:1685:7)
at callbackTrampoline (internal/async_hooks:130:17)
--- TCPCONNECTWRAP ---
at init (internal/inspector_async_hook:25:19)
at emitInitNative (internal/async_hooks:202:43)
at internalConnectMultiple (net:1171:24)
at defaultTriggerAsyncIdScope (internal/async_hooks:464:18)
at emitLookup (net:1522:7)
at onlookupall (dns:132:8)
at callbackTrampoline (internal/async_hooks:130:17)
--- GETADDRINFOREQWRAP ---
at init (internal/inspector_async_hook:25:19)
at emitInitNative (internal/async_hooks:202:43)
at lookup (dns:235:21)
at emitLookup (net:1414:5)
at defaultTriggerAsyncIdScope (internal/async_hooks:464:18)
at lookupAndConnectMultiple (net:1413:3)
at <anonymous> (net:1359:7)
at defaultTriggerAsyncIdScope (internal/async_hooks:464:18)
at lookupAndConnect (net:1358:5)
at Socket.connect (net:1255:5)
at connect (net:238:17)
at connect (c:\Users\Chris Poch\Documents\Sound\OSCWebMixer2\node_modules\node-emberplus\lib\socket\s101.client.js:41:27)
at <anonymous> (c:\Users\Chris Poch\Documents\Sound\OSCWebMixer2\node_modules\node-emberplus\lib\client\ember-client.js:115:25)
at connectAsync (c:\Users\Chris Poch\Documents\Sound\OSCWebMixer2\node_modules\node-emberplus\lib\client\ember-client.js:99:16)
at <anonymous> (c:\Users\Chris Poch\Documents\Sound\OSCWebMixer2\index.js:4:8)
at Module._compile (internal/modules/cjs/loader:1358:14)
at Module._extensions..js (internal/modules/cjs/loader:1416:10)
at Module.load (internal/modules/cjs/loader:1208:32)
at Module._load (internal/modules/cjs/loader:1024:12)
at executeUserEntryPoint (internal/modules/run_main:174:12)
at <anonymous> (internal/main/run_main_module:28:49)
No debugger available, can not send 'variables'
Process exited with code 1
Any ideas of what I should be trying? I am hoping to make a port of https://github.com/castles/OSCWebMixer2 that works with Lawo mc^2 consoles but I am having trouble getting the node-emberplus to do anything useful - any pointers in the right direction would be much appreciated!
Metadata
Metadata
Assignees
Labels
No labels