Questions tagged as 'node.js'

1
answer

Nodemon and NodeJS

I'm learning nodejs and would like to know how to add the nodemon so that every time I save the project the same update my webpage. I installed the nodemon globally and put it in the package.json call { "name": "meuprojeto", "version":...
asked by 03.12.2017 / 21:35
1
answer

Module for Node Js that captures information from the Operating System and the computer

How to obtain using Node Js the use of processing, memory, load average and operating system information? I know that in Java, for example, the library "OperatingSystemMXBean" would like an equivalent. The native module 'os' is a good op...
asked by 19.10.2017 / 23:09
1
answer

Read string generated by FileReader in result function

Next I'm getting a base 64 string but I can not get it to send to my server, it follows the code: $scope.cadastraFoto = function(){ var input = document.getElementById('fotoPerfil').files[0] var reader = new FileReader() rea...
asked by 19.11.2017 / 03:47
1
answer

Returning callback values in the main function - JS / NodeJS

I have a main function and a callback function inside it. I need that, depending on the callback return my main function returns something, note: function funcaoPrincipal(){ funcaoCallback(function(erro){ if(erro){ //re...
asked by 06.09.2017 / 17:01
1
answer

TypeError: isPassword is not a function

I'm having this error: TypeError: isPassword is not a function. I did several searches on the net, found similarities but still could not solve. So in another way I solved it, but as I'm starting my studies, I wanted to know what does not happen...
asked by 22.08.2017 / 18:39
1
answer

Use stream on NodeJS?

I am doing an email application (HapiJS) and am looking for them through node-imap and parsing through of Mailparser , and for Mailparser to parse, email must be in the form of Stream, Buffer, or String. / p> How can I create a Stream in me...
asked by 28.08.2017 / 16:38
1
answer

Write app data developed with react-native to a remote PostgreSQL database

I'm developing a react-native application. In this application you will basically have some forms to register information, however this information should be saved in a PostgreSQL bd which is already used by a system. Searching I found the...
asked by 28.08.2017 / 20:28
1
answer

Node Create an API to validate login with Azure AD [closed]

Does anyone know how I could create an API to validate login with Azure AD and return a token?     
asked by 21.09.2017 / 17:51
1
answer

Angular 2 in production

Hey guys, I have an application in Angular 2 that I want to publish it on the website www.umbler.com hosting server but it does not consig, it has put in the server in NodeJs but it does not work. I do not know how the build part works, etc. Can...
asked by 19.08.2017 / 01:25
1
answer

Synchronous function to check files in NodeJS?

I'm creating PDF's on my NodeJS server using the Express framework and the PdfMake library. If someone looks at my profile I will see that I asked a question about corrupted PDF after download. It turns out that I have discovered that the files...
asked by 15.08.2017 / 21:29