{"action":"created","issue":{"url":"https://api.github.com/repos/micahstubbs/c4yt/issues/13","repository_url":"https://api.github.com/repos/micahstubbs/c4yt","labels_url":"https://api.github.com/repos/micahstubbs/c4yt/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/micahstubbs/c4yt/issues/13/comments","events_url":"https://api.github.com/repos/micahstubbs/c4yt/issues/13/events","html_url":"https://github.com/micahstubbs/c4yt/issues/13","id":312332603,"number":13,"title":"run bpanel on server","user":{"login":"micahstubbs","id":2119400,"avatar_url":"https://avatars3.githubusercontent.com/u/2119400?v=4","gravatar_id":"","url":"https://api.github.com/users/micahstubbs","html_url":"https://github.com/micahstubbs","followers_url":"https://api.github.com/users/micahstubbs/followers","following_url":"https://api.github.com/users/micahstubbs/following{/other_user}","gists_url":"https://api.github.com/users/micahstubbs/gists{/gist_id}","starred_url":"https://api.github.com/users/micahstubbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micahstubbs/subscriptions","organizations_url":"https://api.github.com/users/micahstubbs/orgs","repos_url":"https://api.github.com/users/micahstubbs/repos","events_url":"https://api.github.com/users/micahstubbs/events{/privacy}","received_events_url":"https://api.github.com/users/micahstubbs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-08T19:26:15Z","updated_at":"2018-04-08T19:40:39Z","closed_at":null,"author_association":"OWNER","body":"encountered this error\r\n\r\nwhen I run `npm run start:dev`\r\n\r\n```shell\r\n➜  bpanel git:(c4yt) ✗ npm run start:dev                                                                                    [111/154]\r\n\r\n> bpanel@0.0.1-rc1 start:dev /root/workspace/bpanel\r\n> node server --dev\r\n\r\ninfo: bsock running on port 8000\r\ninfo: bpanel app running on port 5000\r\nerror: uncaughtException: Network error: ws://127.0.0.1:18556/socket.io/?transport=websocket: connect ECONNREFUSED 127.0.0.1:18556 da\r\nte=Sun Apr 08 2018 19:23:45 GMT+0000 (UTC), pid=23025, uid=0, gid=0, cwd=/root/workspace/bpanel, execPath=/usr/bin/node, version=v8.$\r\n1.1, argv=[/usr/bin/node, /root/workspace/bpanel/server/index.js, --watch], rss=50917376, heapTotal=32325632, heapUsed=12621336, ext$\r\nrnal=322401, loadavg=[0.24462890625, 0.09765625, 0.02880859375], uptime=68451, trace=[column=24, file=/root/workspace/bpanel/node_mo$\r\nules/bsock/lib/socket.js, function=Socket.onError, line=245, method=onError, native=false, column=18, file=/root/workspace/bpanel/no$\r\ne_modules/bsock/lib/socket.js, function=Client.ws.onerror, line=174, method=onerror, native=false, column=30, file=/root/workspace/b$\r\nanel/node_modules/faye-websocket/lib/faye/websocket/api/event_target.js, function=Client.dispatchEvent, line=22, method=dispatchEven$\r\n, native=false, column=10, file=/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/websocket/api.js, function=Client._emitE$\r\nror, line=158, method=_emitError, native=false, column=12, file=/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/websocke$\r\n/api.js, function=null, line=127, method=null, native=false, column=20, file=events.js, function=emitOne, line=121, method=null, nat$\r\nve=false, column=7, file=events.js, function=Socket.emit, line=211, method=emit, native=false, column=8, file=internal/streams/destr$\r\ny.js, function=emitErrorNT, line=64, method=null, native=false, column=11, file=internal/process/next_tick.js, function=_combinedTic$\r\nCallback, line=138, method=null, native=false, column=9, file=internal/process/next_tick.js, function=process._tickCallback, line=18$\r\n, method=_tickCallback, native=false], stack=[Error: Network error: ws://127.0.0.1:18556/socket.io/?transport=websocket: connect ECO$\r\nNREFUSED 127.0.0.1:18556,     at Socket.onError (/root/workspace/bpanel/node_modules/bsock/lib/socket.js:245:24),     at Client.ws.o$\r\nerror (/root/workspace/bpanel/node_modules/bsock/lib/socket.js:174:18),     at Client.dispatchEvent (/root/workspace/bpanel/node_mod$\r\nles/faye-websocket/lib/faye/websocket/api/event_target.js:22:30),     at Client._emitError (/root/workspace/bpanel/node_modules/faye$\r\nwebsocket/lib/faye/websocket/api.js:158:10),     at Socket.<anonymous> (/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/$\r\nebsocket/api.js:127:12),     at emitOne (events.js:121:20),     at Socket.emit (events.js:211:7),     at emitErrorNT (internal/strea$\r\ns/destroy.js:64:8),     at _combinedTickCallback (internal/process/next_tick.js:138:11),     at process._tickCallback (internal/proc$\r\nss/next_tick.js:180:9)]\r\nerror: uncaughtException: Websocket Closed: Unknown reason (code=ABNORMAL_CLOSURE). date=Sun Apr 08 2018 19:23:45 GMT+0000 (U[83/154]\r\n=23025, uid=0, gid=0, cwd=/root/workspace/bpanel, execPath=/usr/bin/node, version=v8.11.1, argv=[/usr/bin/node, /root/workspace/bpane\r\nl/server/index.js, --watch], rss=50917376, heapTotal=32325632, heapUsed=12876816, external=322425, loadavg=[0.24462890625, 0.09765625\r\n, 0.02880859375], uptime=68451, trace=[column=17, file=/root/workspace/bpanel/node_modules/bsock/lib/socket.js, function=Socket.onClo\r\nse, line=277, method=onClose, native=false, column=18, file=/root/workspace/bpanel/node_modules/bsock/lib/socket.js, function=Client.\r\nws.onclose, line=178, method=onclose, native=false, column=30, file=/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/webso\r\ncket/api/event_target.js, function=Client.dispatchEvent, line=22, method=dispatchEvent, native=false, column=10, file=/root/workspace\r\n/bpanel/node_modules/faye-websocket/lib/faye/websocket/api.js, function=Client._finalizeClose, line=188, method=_finalizeClose, nativ\r\ne=false, column=12, file=/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/websocket/api.js, function=null, line=128, metho\r\nd=null, native=false, column=20, file=events.js, function=emitOne, line=121, method=null, native=false, column=7, file=events.js, fun\r\nction=Socket.emit, line=211, method=emit, native=false, column=8, file=internal/streams/destroy.js, function=emitErrorNT, line=64, me\r\nthod=null, native=false, column=11, file=internal/process/next_tick.js, function=_combinedTickCallback, line=138, method=null, native\r\n=false, column=9, file=internal/process/next_tick.js, function=process._tickCallback, line=180, method=_tickCallback, native=false],\r\nstack=[Error: Websocket Closed: Unknown reason (code=ABNORMAL_CLOSURE).,     at Socket.onClose (/root/workspace/bpanel/node_modules/b\r\nsock/lib/socket.js:277:17),     at Client.ws.onclose (/root/workspace/bpanel/node_modules/bsock/lib/socket.js:178:18),     at Client.\r\ndispatchEvent (/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/websocket/api/event_target.js:22:30),     at Client._final\r\nizeClose (/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/websocket/api.js:188:10),     at Socket.<anonymous> (/root/work\r\nspace/bpanel/node_modules/faye-websocket/lib/faye/websocket/api.js:128:12),     at emitOne (events.js:121:20),     at Socket.emit (ev\r\nents.js:211:7),     at emitErrorNT (internal/streams/destroy.js:64:8),     at _combinedTickCallback (internal/process/next_tick.js:13\r\n8:11),     at process._tickCallback (internal/process/next_tick.js:180:9)]\r\nerror: uncaughtException: Network error: ws://127.0.0.1:18558/socket.io/?transport=websocket: connect ECONNREFUSED 127.0.0.1:18558 da\r\nte=Sun Apr 08 2018 19:23:45 GMT+0000 (UTC), pid=23025, uid=0, gid=0, cwd=/root/workspace/bpanel, execPath=/usr/bin/node, version=v8.1\r\n1.1, argv=[/usr/bin/node, /root/workspace/bpanel/server/index.js, --watch], rss=50917376, heapTotal=32325632, heapUsed=13060464, exte\r\nrnal=322425, loadavg=[0.24462890625, 0.09765625, 0.02880859375], uptime=68451, trace=[column=24, file=/root/workspace/bpanel/node_mod\r\nules/bsock/lib/socket.js, function=Socket.onError, line=245, method=onError, native=false, column=18, file=/root/workspace/bpanel/nod\r\ne_modules/bsock/lib/socket.js, function=Client.ws.onerror, line=174, method=onerror, native=false, column=30, file=/root/workspace/bp\r\nanel/node_modules/faye-websocket/lib/faye/websocket/api/event_target.js, function=Client.dispatchEvent, line=22, method=dispatchEvent\r\n, native=false, column=10, file=/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/websocket/api.js, function=Client._emitEr\r\nror, line=158, method=_emitError, native=false, column=12, file=/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/websocket\r\n/api.js, function=null, line=127, method=null, native=false, column=20, file=events.js, function=emitOne, line=121, method=null, nati\r\nve=false, column=7, file=events.js, function=Socket.emit, line=211, method=emit, native=false, column=8, file=internal/streams/destro\r\ny.js, function=emitErrorNT, line=64, method=null, native=false, column=11, file=internal/process/next_tick.js, function=_combinedTick\r\nCallback, line=138, method=null, native=false, column=9, file=internal/process/next_tick.js, function=process._tickCallback, line=180\r\n, method=_tickCallback, native=false], stack=[Error: Network error: ws://127.0.0.1:18558/socket.io/?transport=websocket: connect ECON\r\nNREFUSED 127.0.0.1:18558,     at Socket.onError (/root/workspace/bpanel/node_modules/bsock/lib/socket.js:245:24),     at Client.ws.on\r\nerror (/root/workspace/bpanel/node_modules/bsock/lib/socket.js:174:18),     at Client.dispatchEvent (/root/workspace/bpanel/node_modu\r\nles/faye-websocket/lib/faye/websocket/api/event_target.js:22:30),     at Client._emitError (/root/workspace/bpanel/node_modules/faye-\r\nwebsocket/lib/faye/websocket/api.js:158:10),     at Socket.<anonymous> (/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/w\r\nebsocket/api.js:127:12),     at emitOne (events.js:121:20),     at Socket.emit (events.js:211:7),     at emitErrorNT (internal/stream\r\ns/destroy.js:64:8),     at _combinedTickCallback (internal/process/next_tick.js:138:11),     at process._tickCallback (internal/proce\r\nss/next_tick.js:180:9)]\r\nerror: uncaughtException: Websocket Closed: Unknown reason (code=ABNORMAL_CLOSURE). date=Sun Apr 08 2018 19:23:45 GMT+0000 (UTC), pid\r\n=23025, uid=0, gid=0, cwd=/root/workspace/bpanel, execPath=/usr/bin/node, version=v8.11.1, argv=[/usr/bin/node, /root/workspace/bpane\r\nl/server/index.js, --watch], rss=50917376, heapTotal=32325632, heapUsed=13237816, external=322425, loadavg=[0.24462890625, 0.09765625\r\n, 0.02880859375], uptime=68451, trace=[column=17, file=/root/workspace/bpanel/node_modules/bsock/lib/socket.js, function=Socket.onClo\r\nse, line=277, method=onClose, native=false, column=18, file=/root/workspace/bpanel/node_modules/bsock/lib/socket.js, function=Client.\r\nws.onclose, line=178, method=onclose, native=false, column=30, file=/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/webso\r\ncket/api/event_target.js, function=Client.dispatchEvent, line=22, method=dispatchEvent, native=false, column=10, file=/root/workspace\r\n/bpanel/node_modules/faye-websocket/lib/faye/websocket/api.js, function=Client._finalizeClose, line=188, method=_finalizeClose, nativ\r\ne=false, column=12, file=/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/websocket/api.js, function=null, line=128, metho\r\nd=null, native=false, column=20, file=events.js, function=emitOne, line=121, method=null, native=false, column=7, file=events.js, fun\r\nction=Socket.emit, line=211, method=emit, native=false, column=8, file=internal/streams/destroy.js, function=emitErrorNT, line=64, me\r\nthod=null, native=false, column=11, file=internal/process/next_tick.js, function=_combinedTickCallback, line=138, method=null, native\r\n=false, column=9, file=internal/process/next_tick.js, function=process._tickCallback, line=180, method=_tickCallback, native=false],\r\nstack=[Error: Websocket Closed: Unknown reason (code=ABNORMAL_CLOSURE).,     at Socket.onClose (/root/workspace/bpanel/node_modules/b\r\nsock/lib/socket.js:277:17),     at Client.ws.onclose (/root/workspace/bpanel/node_modules/bsock/lib/socket.js:178:18),     at Client.\r\ndispatchEvent (/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/websocket/api/event_target.js:22:30),     at Client._final\r\nizeClose (/root/workspace/bpanel/node_modules/faye-websocket/lib/faye/websocket/api.js:188:10),     at Socket.<anonymous> (/root/work\r\nspace/bpanel/node_modules/faye-websocket/lib/faye/websocket/api.js:128:12),     at emitOne (events.js:121:20),     at Socket.emit (ev\r\nents.js:211:7),     at emitErrorNT (internal/streams/destroy.js:64:8),     at _combinedTickCallback (internal/process/next_tick.js:13\r\n8:11),     at process._tickCallback (internal/process/next_tick.js:180:9)]\r\nExecuting pre-build scripts\r\nmodule.js:549\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module '../lib/babel-node'\r\n    at Function.Module._resolveFilename (module.js:547:15)\r\n    at Function.Module._load (module.js:474:25)\r\n    at Module.require (module.js:596:17)\r\n    at require (internal/module.js:11:18)\r\n    at Object.<anonymous> (/root/workspace/bpanel/node_modules/.bin/babel-node:3:1)\r\n    at Module._compile (module.js:652:30)\r\n    at Object.Module._extensions..js (module.js:663:10)\r\n    at Module.load (module.js:565:32)\r\n    at tryModuleLoad (module.js:505:12)\r\n    at Function.Module._load (module.js:497:3)\r\n\r\nWebpack is watching the files…\r\nerror: uncaughtException: Timed out waiting for connection. Reconnecting... date=Sun Apr 08 2018 19:23:55 GMT+0000 (UTC), pid=[3/154]\r\nuid=0, gid=0, cwd=/root/workspace/bpanel, execPath=/usr/bin/node, version=v8.11.1, argv=[/usr/bin/node, /root/workspace/bpanel/server\r\n/index.js, --watch], rss=43786240, heapTotal=17645568, heapUsed=13527560, external=33208, loadavg=[0.7548828125, 0.21044921875, 0.06$\r\n40625], uptime=68461, trace=[column=24, file=/root/workspace/bpanel/node_modules/bsock/lib/socket.js, function=Socket.error, line=32$\r\n, method=error, native=false, column=14, file=/root/workspace/bpanel/node_modules/bsock/lib/socket.js, function=Socket.stall, line=3$\r\n3, method=stall, native=false, column=41, file=/root/workspace/bpanel/node_modules/bsock/lib/socket.js, function=Timeout.timer.setIn$\r\nerval [as _onTimeout], line=370, method=setInterval [as _onTimeout], native=false, column=11, file=timers.js, function=ontimeout, li$\r\ne=482, method=null, native=false, column=5, file=timers.js, function=tryOnTimeout, line=317, method=null, native=false, column=5, fi$\r\ne=timers.js, function=Timer.listOnTimeout, line=277, method=listOnTimeout, native=false], stack=[Error: Timed out waiting for connec$\r\nion. Reconnecting...,     at Socket.error (/root/workspace/bpanel/node_modules/bsock/lib/socket.js:327:24),     at Socket.stall (/roo\r\nt/workspace/bpanel/node_modules/bsock/lib/socket.js:393:14),     at Timeout.timer.setInterval [as _onTimeout] (/root/workspace/bpanel\r\n/node_modules/bsock/lib/socket.js:370:41),     at ontimeout (timers.js:482:11),     at tryOnTimeout (timers.js:317:5),     at Timer.l\r\nistOnTimeout (timers.js:277:5)]\r\nerror: uncaughtException: Timed out waiting for connection. Reconnecting... date=Sun Apr 08 2018 19:23:55 GMT+0000 (UTC), pid=23025,\r\nuid=0, gid=0, cwd=/root/workspace/bpanel, execPath=/usr/bin/node, version=v8.11.1, argv=[/usr/bin/node, /root/workspace/bpanel/server\r\n/index.js, --watch], rss=44048384, heapTotal=17645568, heapUsed=13690304, external=33208, loadavg=[0.7548828125, 0.21044921875, 0.066\r\n40625], uptime=68461, trace=[column=24, file=/root/workspace/bpanel/node_modules/bsock/lib/socket.js, function=Socket.error, line=327\r\n, method=error, native=false, column=14, file=/root/workspace/bpanel/node_modules/bsock/lib/socket.js, function=Socket.stall, line=39\r\n3, method=stall, native=false, column=41, file=/root/workspace/bpanel/node_modules/bsock/lib/socket.js, function=Timeout.timer.setInt\r\nerval [as _onTimeout], line=370, method=setInterval [as _onTimeout], native=false, column=11, file=timers.js, function=ontimeout, lin\r\ne=482, method=null, native=false, column=5, file=timers.js, function=tryOnTimeout, line=317, method=null, native=false, column=5, fil\r\ne=timers.js, function=Timer.listOnTimeout, line=277, method=listOnTimeout, native=false, column=26, file=timers.js, function=listOnTi\r\nmeoutNT, line=353, method=null, native=false, column=11, file=internal/process/next_tick.js, function=_combinedTickCallback, line=135\r\n, method=null, native=false, column=9, file=internal/process/next_tick.js, function=process._tickCallback, line=180, method=_tickCall\r\nback, native=false], stack=[Error: Timed out waiting for connection. Reconnecting...,     at Socket.error (/root/workspace/bpanel/nod\r\ne_modules/bsock/lib/socket.js:327:24),     at Socket.stall (/root/workspace/bpanel/node_modules/bsock/lib/socket.js:393:14),     at T\r\nimeout.timer.setInterval [as _onTimeout] (/root/workspace/bpanel/node_modules/bsock/lib/socket.js:370:41),     at ontimeout (timers.j\r\ns:482:11),     at tryOnTimeout (timers.js:317:5),     at Timer.listOnTimeout (timers.js:277:5),     at listOnTimeoutNT (timers.js:353\r\n:26),     at _combinedTickCallback (internal/process/next_tick.js:135:11),     at process._tickCallback (internal/process/next_tick.j\r\ns:180:9)]\r\n```"},"comment":{"url":"https://api.github.com/repos/micahstubbs/c4yt/issues/comments/379576629","html_url":"https://github.com/micahstubbs/c4yt/issues/13#issuecomment-379576629","issue_url":"https://api.github.com/repos/micahstubbs/c4yt/issues/13","id":379576629,"user":{"login":"micahstubbs","id":2119400,"avatar_url":"https://avatars3.githubusercontent.com/u/2119400?v=4","gravatar_id":"","url":"https://api.github.com/users/micahstubbs","html_url":"https://github.com/micahstubbs","followers_url":"https://api.github.com/users/micahstubbs/followers","following_url":"https://api.github.com/users/micahstubbs/following{/other_user}","gists_url":"https://api.github.com/users/micahstubbs/gists{/gist_id}","starred_url":"https://api.github.com/users/micahstubbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micahstubbs/subscriptions","organizations_url":"https://api.github.com/users/micahstubbs/orgs","repos_url":"https://api.github.com/users/micahstubbs/repos","events_url":"https://api.github.com/users/micahstubbs/events{/privacy}","received_events_url":"https://api.github.com/users/micahstubbs/received_events","type":"User","site_admin":false},"created_at":"2018-04-08T19:40:39Z","updated_at":"2018-04-08T19:40:39Z","author_association":"OWNER","body":"will try this as well\r\n\r\n`sudo npm install --unsafe-perm -g babel-node`"}}
{"actor":{"display_login":"micahstubbs"}}