Questions tagged as 'node.js'

0
answers

KeystoneJS with Mongo remote

Good evening! I'm starting to study KeystoneJS versão 0.3.17 . Following "Getting started" from the official website, we ask for nodejs and mongodb , but I want to use this cloud service from mongodb . How could you do this...
asked by 01.06.2017 / 01:32
0
answers

Error opening application

Good afternoon, I've cloned a repository using angularJS and node.js. I would like to run it, but clicking    "index.html" The site appears incomplete. In the terminal, inside the repository I put it to see if it was running    $...
asked by 06.06.2017 / 16:10
0
answers

Notification with Firebase Cloud Functions for single device

I have a problem sending notifications using the Firebase Cloud Functions, in case I would like the user to send notifications from the site, hosted by Firebase Hosting, to an android device. To do this I thought about having the user who wanted...
asked by 26.06.2017 / 22:59
1
answer

Folder Size - File System

I'm trying to get the size of the folder that is in my project, the folder is called Testes , and in my file server.js I'm using the following method: fs.stat('/Testes', function(err,stats){ if(err) return console.log(err);...
asked by 12.05.2017 / 15:00
0
answers

How to test Web Server CoffeeScript application using windows cmd?

I'm trying to test this angled design . I have already installed angular, bower, grunt and coffescript. I was able to get to the Web Server startup stage where the author says:    Use Terminal to start the CoffeeScript, built-in Quizzl...
asked by 11.05.2017 / 15:06
0
answers

Emission of NFC-e with Nodejs

I'm new to Nodejs and would like to know if there's how to issue NFC-e and NF-e with Node without using API. If so, what would be the steps to follow?     
asked by 01.05.2017 / 16:51
0
answers

Error in the NodeJs config module

I have a mysql.js file that accesses the database as follows: 'use strict'; var mysql = require('mysql'), config = require('config'); var connection = mysql.createConnection({ host: config.get('mysql.server'), user: config.get('m...
asked by 19.04.2017 / 19:41
0
answers

Json object no ionic 2

I'm starting with Ionic 2 and Node.js and I'm trying to consume the API I created, but I'm having trouble locating the problem when I try to generate a listing with ngFor from a JSON, so I've read the ngFor needs to a JSON object to work, so I c...
asked by 18.04.2017 / 05:27
0
answers

Save an image and generate Thumb with nodejs

I'm trying to burn an image to disk and after that generate a thumb of the image that was saved. To do this I save the normal base64 image that was sent and in the callback of fs.writeFile I call the function to generate the thumb. I'm try...
asked by 10.04.2017 / 20:45
0
answers

Error sending an image to discord

How could I send the image to the discord without having this error var Canvas = require('canvas') , Image = Canvas.Image var Discord = require('discord.js') , isla = new Discord.Client(); var server = require(__dirname + '/server.js');...
asked by 14.04.2017 / 01:56