Questions tagged [node8.4]

A JavaScript runtime built on Chrome's V8 JavaScript engine.

Node.js uses an even driven non blocking I/O model.

6 questions
8
votes
2 answers

Array of objects manipulation

I feel that im close to the answer but I am not outputting exactly the format Im looking for So, I have this array of objects: const data = [ {email: '100@email.com', amount: '30', date: '2018-12'}, {email: '100@email.com', amount: '30', date:…
avatarZuko
  • 115
  • 5
3
votes
1 answer

Angular Quickstart: Error: spawn EACCES

I cloned Angular quickstart. then I ran npm install, and then npm start. This is what I got. $ npm start > angular-quickstart@1.0.0 prestart /home/ecarroll/code/angular/quickstart > npm run build > angular-quickstart@1.0.0 build…
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
0
votes
0 answers

my stream from http request through to aws s3 multiple part upload is not storing complete file

I am piping a 1.7GB file through from HTTP request into s3 upload function that does a multipart upload. The end function is called - when i look in s3 - the file is only 1 GB. Seems as though not all the chunks are piping through. This loss in…
0
votes
3 answers

How do I arrange a javascript array of objects from one format to another

I feel like its a very simple answer but im having trouble figuring it out. I want to turn this array of objects: [{ client: 'lalala@email.com', amount: 0, date: '2018-12' }, { client: 'lalala@email.com', amount: '30', date:…
avatarZuko
  • 115
  • 5
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
0 answers

What is the best way to add the EventEmitter functionality to a Class in Node 8 that already extends another class?

I'm developing a little app in nodejs 8. I have a class that already extends another class module.exports = class ClassOne extends ClassTwo { } But I'd also like my class to have the functionality of the EventEmitter class which I believe would…
Peter Fox
  • 1,809
  • 2
  • 20
  • 34