marcelherd / SEP-Gryffindor

[Vue/Node.js] Chat bot creator, runner, templates
https://marcelherd.github.io/SEP-Gryffindor/
MIT License
1 stars 0 forks source link

Runtime crashes when creating a new bot #29

Closed marcelherd closed 6 years ago

marcelherd commented 6 years ago
/home/marcelherd/Workspaces/SEP-Gryffindor/Bot-Runtime/node_modules/docker-modem/lib/modem.js:316
  stream.pipe(parser);
         ^

TypeError: Cannot read property 'pipe' of null
    at Modem.followProgress (/home/marcelherd/Workspaces/SEP-Gryffindor/Bot-Runtime/node_modules/docker-modem/lib/modem.js:316:10)
    at docker.buildImage (/home/marcelherd/Workspaces/SEP-Gryffindor/Bot-Runtime/services/DockerService.js:36:20)
    at /home/marcelherd/Workspaces/SEP-Gryffindor/Bot-Runtime/node_modules/dockerode/lib/docker.js:295:9
    at Modem.buildPayload (/home/marcelherd/Workspaces/SEP-Gryffindor/Bot-Runtime/node_modules/docker-modem/lib/modem.js:250:19)
    at ClientRequest.<anonymous> (/home/marcelherd/Workspaces/SEP-Gryffindor/Bot-Runtime/node_modules/docker-modem/lib/modem.js:235:10)
    at emitOne (events.js:121:20)
    at ClientRequest.emit (events.js:211:7)
    at Socket.socketErrorListener (_http_client.js:387:9)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
[nodemon] app crashed - waiting for file changes before starting...
GFdiablo117 commented 6 years ago

Create the docker group.

$ sudo groupadd docker

Add your user to the docker group.

$ sudo usermod -aG docker $USER

Logout and Login

marcelherd commented 6 years ago

Hat aber nix mit dem Bug zu tun oder?