husudosu / mpv-remote-node

MPV Remote plugin
MIT License
49 stars 9 forks source link

can not run on windows #16

Closed HillCat closed 1 year ago

HillCat commented 1 year ago

[mpvremote] listening on 192.168.1.101:8000 [mpvremote] true [mpvremote] {"error_string":"","killed_by_us":false,"status":1,"stderr":"node:events:491\r\n throw er; // Unhandled 'error' event\r\n ^\r\n\r\nError [ERR_SOCKET_CLOSED]: Socket is closed\r\n at new NodeError (node:internal/errors:387:5)\r\n at Socket._writeGeneric (node:net:895:8)\r\n at Socket._write (node:net:917:8)\r\n at writeOrBuffer (node:internal/streams/writable:391:12)\r\n at _write (node:internal/streams/writable:332:10)\r\n at Socket.Writable.write (node:internal/streams/writable:336:10)\r\n at C:\Users\47664\AppData\Roaming\npm\node_modules\mpv-remote\node_modules\node-mpv\lib\ipcInterface\ipcInterface.js:209:17\r\n at new Promise ()\r\n at ipcInterface.send (C:\Users\47664\AppData\Roaming\npm\node_modules\mpv-remote\node_modules\node-mpv\lib\ipcInterface\ipcInterface.js:190:10)\r\n at ipcInterface.getProperty (C:\Users\47664\AppData\Roaming\npm\node_modules\mpv-remote\node_modules\node-mpv\lib\ipcInterface\ipcInterface.js:117:15)\r\nEmitted 'error' event on Socket instance at:\r\n at emitErrorNT (node:internal/streams/destroy:157:8)\r\n at emitErrorCloseNT (node:internal/streams/destroy:122:3)\r\n at processTicksAndRejections (node:internal/process/task_queues:83:21) {\r\n code: 'ERR_SOCKET_CLOSED'\r\n}\r\n"} [mpvremote] ""

husudosu commented 1 year ago

What's your Windows and Node version? You can check your node version by opening terminal/cmd/powershell and:

node --version
husudosu commented 1 year ago

I'm gonna close this issue due inactivity, feel free to re-open it, if you still have this issue.