Skip to content

Parse error on container.run() #17

@woubuc

Description

@woubuc

When I try to run a command on my container, I get the following error:

Error: Parse Error
    at Socket.socketOnData (_http_client.js:444:20)
    at Socket.emit (events.js:127:13)
    at addChunk (_stream_readable.js:269:12)
    at readableAddChunk (_stream_readable.js:256:11)
    at Socket.Readable.push (_stream_readable.js:213:10)
    at TCP.onread (net.js:598:20)

My code:

container.run(['ls -al'], function(err, stdout, stderr) {
    if (err) return console.error(err);
    console.log('out:', stdout);
    console.log('err:', stderr);
});

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions