Questions tagged as 'node.js'

0
answers

How popular a sub list of a document with mongoose?

Is it possible to populate a list that references another list in the same document? Example in the image below, I want to popular / return in a search always the access link referring to another list of links that has all the information. This...
asked by 07.11.2017 / 14:50
0
answers

Problems sending a request to Heaven

I am setting up a transparent payment method for Cielo and I use node on my server and I have already set up my Json. But I can not send the data correctly to Cielo, someone knows some way to send the request and receive the return by Node exp...
asked by 31.10.2017 / 14:57
0
answers

Join tables in AngularJS

I'm really in need of some help from you. I'm currently developing a web app for a multi-module restaurant. In the box module, a <div> is displaying the requests that are open as they show the codes below. Now what I need is...
asked by 30.10.2017 / 21:54
1
answer

error installing github npm

I installed npm and I configured my proxy after that when I try to install any library eg git hub, it appears these errors: npm ERR! node v6.11.3 npm ERR! npm v3.10.10 npm ERR! code HPE_INVALID_CONSTANT npm ERR! Parse Error Based on a conf...
asked by 06.11.2017 / 18:34
1
answer

Connection via socket between servers

I have studied communication between two (or more) servers raised in NodeJS via REST más as I searched for content (references, explanations, benchmarks, etc.) I found indications of REST would bring more cost to the process and...
asked by 05.11.2017 / 14:15
0
answers

Communion socket in Windows service [closed]

Next, I have a problem with an application that I am developing, I need to communicate between a Windows service and a web application, the Windows service will stay on the local machine (client) and I need somehow to communicate with this Windo...
asked by 04.11.2017 / 21:31
1
answer

List items of an object in the JS Pug, with Node and Mongo

I'm setting up a store, using Keystone JS, I installed the Pug JS and MongoDB dependencies. I created a model that is pointing to a view, called Tour.JS The problem is that I could not efficiently list all the items that are in the MongoDB...
asked by 01.11.2017 / 03:19
1
answer

When I use Express.js and Angular? (using Node.js)

Hello, good evening guys, I started to study Node.JS about 2 weeks ago, and I am in doubt about these 2 frameworks, because in the video lessons I was initially seeing about Node.Js, the boy only used Express as Framework. But everywhere I look I...
asked by 14.10.2017 / 06:54
0
answers

Nodejs Epson Thermal Printer

I'm using the node-thermal-printer plugin on NodeJs to print to an Epson printer. But after putting it on a server it does not work, meaning it does not detect the printer. var printer = require("node-thermal-printer"); printer.init({...
asked by 05.11.2017 / 20:00
1
answer

Redirect passport giving error with express 4

I'm having problems after user authentication in form. The passport redirects to the root again, however it does not pass to the GET of the '/' route expression and displays [object Object]. If you use servidor.use(function(err, req, res, n...
asked by 10.10.2017 / 17:13