Questions tagged as 'node.js'

0
answers

How to solve the problem with the route in node.js?

Using node.js, this application should populate the terminal with tweets (the filename is tweet_counter.js ): var ntwitter = require('ntwitter'), credentials = require('./credentials.json'), twitter; twitter = ntwitter(credentials); tw...
asked by 26.10.2015 / 20:08
0
answers

ExpressJS can not get / route in Openshift, but local works

I have a project with the following structure: server.js /node_modules /build vendor.js main.js index.html I'm using express , and angular 's ui-router . Within server.js I have the following cod...
asked by 11.11.2015 / 02:27
1
answer

ionic error at start app

I'm starting my studies with ionic v2. I updated the version of ionic to v2 but when I run the command ionic start wiltonfinances blank --v2 and an error message is displayed. View the information displayed on the console: MINGW64...
asked by 26.03.2016 / 19:03
0
answers

NodeJs - socket.io error: xhr-polling

I have a new server configured like this: var express = require('express'); // CHAMADA DA API EXPRESS var app = express(); var server = require('http').createServer(app);...
asked by 30.07.2015 / 15:01
1
answer

(node-gyp rebuild 2 builderror.log) || (exit 0)

I am running sudo npm install websocket on my Mac with nodejs but it causes me this error, how to fix? npm install websocket - > [email protected] install /Users/Vinicius/node_modules/websocket > (node-gyp rebuild 2> builderror....
asked by 16.07.2015 / 07:14
0
answers

What is the behavior when MongoDB reaches the defined maximum value of $ inc?

What is the behavior when Mongo reaches its maximum value for findAndModify with parameters below, how can I reset to 0 when this happens? db.collection('count').findAndModify( { "_id": "xy" }, [["_id", 1]], { $...
asked by 25.07.2015 / 06:55
1
answer

I can not display my html pages with Node.js

I'm trying to display my html pages within my main Layout but always error 404:    Error: Not Found       at C: \ Users \ Adiego \ Documents \ ProjectNode \ system1 \ app.js: 36: 13 This is my app.js: var express = require('express'); v...
asked by 02.07.2015 / 22:12
0
answers

How do I call a nodejs method in Java code?

I need to use a Node method in a Java application. I can not use Nashorn because I need Jquery because pure JS does not solve my problem. As the node allows the use of Jquery, it was chosen, but I can not do the integration. Is it possible...
asked by 03.08.2015 / 21:22
0
answers

Help page Single Page Angular

I have an application with divided into several service blocks developed using NodeJs, AngularJs and MongoDB using Express. Each service block has its own services, controllers and their respective partials that work independently, but I can not...
asked by 15.06.2015 / 14:51
0
answers

error installing mongoose on win server 2008 r2

The error below is displayed when installing mongoose on op system. server 2008r2 All applications are installed correctly. but the bank does not seem to compile. c:\program files\iisnode\www\pmt\node_modules\bson\node_modules\bson-ext\node...
asked by 10.06.2015 / 22:56