Questions tagged [node8.2]

5 questions
2
votes
0 answers

writing to a child subprocess

Version: v8.10.0 Platform: Darwin Tapaswenis-MBP 16.7.0 Darwin Kernel Version 16.7.0:; root:xnu-3789.73.8~1/RELEASE_X86_64 x86_64 I'm trying to add a string to a child subprocess standard output. I want this code to work without editing the existing…
Tapasweni Pathak
  • 552
  • 4
  • 7
  • 24
2
votes
1 answer

Are there any npm modules that use async_hooks to retrieve async stack trace?

There is a new API in node 8 called 'async_hook' which I believe should make it possible for a module author to print async stack traces. I'm looking for something similar to chrome dev-tools async stack-trace implementation but for use from…
Ben
  • 977
  • 2
  • 11
  • 21
0
votes
1 answer

Problem with undefined value in class function when passing though express router

I have a simple class in node 8 but having an issue with this value. module.exports = class Controller { constructor() { this.service = new Service(); } create(request, response, next) { try { const body =…
MarJano
  • 1,257
  • 2
  • 18
  • 39
0
votes
0 answers

Error: write EPIPE node8

This is https://github.com/mapbox/ecs-watchbot/pull/205/files#diff-644d8ede25bb88427ccf4229d03bba1bR19 breaking the test with [worker] waitFor, exit 0 events.js:183 throw er; // Unhandled 'error' event ^ Error: write EPIPE at _errnoException…
hellohi
  • 1
  • 1
0
votes
1 answer

Strange behavior of node js spawn/exec with unzipped content

I'm trying to write a client which installs and updates packages using nodejs with mqtt. I tested all functionalities of data transfer and archiving but when I came to windows environment and actualy tried to run some scripts I came to some strange…
klemen676
  • 13
  • 1
  • 2