Questions tagged as 'node.js'

0
answers

Grunt creating wrong files

I'm using grunt-hogan , in Gruntfile these settings are. "use strict"; module.exports = function(grunt) { var config; config = { hogan: { tmp: 'template.html', output: 'js/tmp/mytemplate.js'...
asked by 02.10.2017 / 17:06
1
answer

How to update the value of a variable within a callback?

I am creating a module with NodeJS and in this module I created a function that returns a value, this value being updated within a callback function. The problem is that this variable / value is not being updated. I would like to know how to sol...
asked by 07.10.2017 / 04:56
0
answers

Pass the Session with Node.JS

Hi, I have a difficulty with the session in an application with nodejs and angular 4. I'm doing it this way: When you type the email and password in the login screen and give submit in the login form, create an http request, which is type...
asked by 27.09.2017 / 19:37
1
answer

Why NodeJS has 4.x, 5.x, 6.x and 0.1x.x versions, etc.

Why Node.js exists in versions 4, 5, and 6, but also exists in 0.x.x versions. Or maybe, what are the differences between x.x and 0.x.x ?     
asked by 10.05.2016 / 03:07
0
answers

Disagree in scope of the [duplicate]

Hello, I'm developing a framework to start developing on node, I'm a beginner so forgive me anything. indexModel.js var Model = require('./model.js'); var model = new Model(); var data; class IndexModel { // Função inicial const...
asked by 28.09.2017 / 19:00
0
answers

Web Service for multiple databases [closed]

I'm starting with Node.js and was wondering if anyone could give me strength in the matter of making a Web Service for multiple databases. I already have a code developed for MySQL, I need to implement the same code for the Sql Server and Sql...
asked by 11.09.2017 / 14:39
1
answer

Base64 Multer NodeJS

I used multer in my API, I uploaded the image, all right, but I would like to use base64, then I enter the doubt (I do not know much about base64 ), what better way to do it? I made one in a way, I converted the image straight from...
asked by 11.09.2017 / 22:30
0
answers

popup angular4 not working?

Well, I'm having a problem with angle 4. I'm trying to use the ng2-opd-popup component. It installs right, but when I declare it in app.modules.ts it returns the following error:    ERROR in Error encountered resolving symbol va...
asked by 06.09.2017 / 22:03
0
answers

Setting up Android Cordova environment

Following the tutorial in this video link posted by Marcelo Costa, I performed all the installations as recommended. I'm using Windows 10. I've installed Android Studio and can run native applications without any problems. However, I came a...
asked by 31.08.2017 / 00:22
0
answers

Post-Payload Error (Node.js)

Today when I was performing the post from a larger base 64 is returning this from my server. When uploading a smaller image it sends without problems, I tried to use some solutions limiting the server to 50mb but it did not work. server.use(bo...
asked by 31.08.2017 / 19:45