Questions tagged as 'node.js'

1
answer

Problem using javascript, JOD NODE and CSV database

Hello I'm doing a project for school using IBM's Bluemix and I'm having some problems finding my error. I am using a database in CSV that has as parameters the neighborhood, number of rooms, area in square meters, price among other informatio...
asked by 19.12.2015 / 23:01
1
answer

auth_token Node.js Instagram

To make a script work I need auth_token of an instagram application, and that according to instructions I should (and am) doing so: https://instagram.com/oauth/authorize/?client_id=1627c123e3fc481791e0d6be16ff57a0&redirect_uri=http:...
asked by 06.09.2015 / 06:25
1
answer

The stack property is not removed from the Error object when includeStack is equal to false

The stack property is not removed from the Error object when includeStack is equal to false : "final:after": { "loopback#errorHandler": { "params": { "includeStack": false } } } Even with disableSta...
asked by 12.10.2015 / 20:09
1
answer

Use of reserved word "import" in javascript

Reading the Ghost code, CMS platform based on NodeJS I found a file with the following statement: import Ember from 'ember'; import Resolver from 'ember/resolver'; import loadInitializers from 'ember/load-initializers'; import 'ghost/utils/lin...
asked by 21.07.2015 / 19:29
2
answers

Node generating Json

I have to develop a Java application that, through a Json, communicates with the Node and changes the language of the site. The problem is: the node must access the site literals / labels in .txt and turn it into .json . Using...
asked by 13.07.2015 / 19:41
1
answer

Skip json from Nodejs to Angularjs

I have a server running on Nodejs using the Sequelize for ORM, it works fine, but I needed to pass the query result to the angle. My server looks like this: var express = require('express'); var bodyParser = require('body-parser');...
asked by 19.04.2015 / 01:12
1
answer

Json line break

I'm trying to develop a system with Node.js and I'm trying to list the database's data in my table, but the data gets all together like this: IstilldonotunderstandmuchaboutJson,isitbecausehe'sthatway? This is my role listing: Usuario.find(...
asked by 03.07.2015 / 18:36
1
answer

Angularjs php node apache2

I started to develop in Node.js using the frameworks Express and Angular when I needed tutorials I noticed that in some the Angular is used together PHP to make requisitions in bank. My question is: on which...
asked by 08.07.2015 / 08:13
1
answer

Error sharing HTTP session with socket.io. io.sets "is not valid".

I'm applying step by step the book "Node.js, real-time applications" by Caio Ribeiro Pereira. All right up to the share of express-session from HTTP to socket.io. As far as I can see there is nothing wrong, but when I try to connect the serve...
asked by 21.01.2015 / 02:55
1
answer

How to edit page after rendered with Node.js? [closed]

I need every time a page is rendered with any path to be added one paragraph after <body> and another paragraph before </body> . I'm using Express.js and to do this by taking the string return from app.render a...
asked by 14.01.2015 / 23:12