Questions tagged as 'node.js'

1
answer

Using the filter in ng-repeat in jade templates

Personally I think I'm doing something wrong but I can not find the error in the code. ul(class='list-group') li(class="list-group-item", ng-repeat="v in votadas | filter: '-votos'") h4 Música: {{ v.titulo }} | Votos: {{ v.vo...
asked by 12.12.2015 / 22:28
0
answers

How to create an outline with Jekyll / Liquid

I'm trying to create an outline to simulate a menu with direct link to the post. This structure would be similar to the help manuals by topics or as the chapter structure of the books. The problem is how to do it, I thought about creating the...
asked by 04.09.2015 / 15:22
0
answers

Bad Request when signing in with Passport, Express and NodeJS

I am trying to authenticate a system but whenever I try to login (post) I get an error:    400 (bad request). The console displays the message:    The character encoding of the plain text document was not declared. The document will r...
asked by 21.08.2015 / 16:19
0
answers

Virgin-acl nodejs

I need to create access permissions on my page, but I have no idea where to start. I installed virgin-acl . I have for example the page below and I want a userexample to only see: app.get('/usuarios/novo', isLoggedIn, usuario.novo);...
asked by 27.07.2015 / 19:51
0
answers

real time application with php

I have the following problem I need to implement actions in real time in an application already developed using php running on iis. I have already managed to make my application communicate with an application in node.js (which could be react...
asked by 27.07.2015 / 00:49
0
answers

openshift giving problem

Well, I have some projects in openshift but since they do not support anyone on the company website then they use stackoverflow to answer people's questions: For those who do not know, openshift is a cloud company where you have an applicatio...
asked by 10.06.2015 / 22:02
1
answer

Communication between C \ C ++ ADDON and NodeJS

This is trying to implement a server capable of speech recognition. But this last part has to be implemented through a C ++ C ++ Addon. At this point, I am writing the wav file on the server and passing the name to the addon: var obj1 = julius...
asked by 07.07.2015 / 16:29
0
answers

Error updating Cordova

When trying to update Cordova on my computer Node is generating the following error. D:\Desenv\tfs-soek\xampp\biltspot>npm install -g cordova npm ERR! Error: connect EACCES npm ERR! at errnoException (net.js:905:11) npm...
asked by 06.07.2015 / 21:55
1
answer

Node.js - Get URL parameter via Jade

I have the following url http://localhost:3000/user/index/1 , I would like to be able to get the last parameter. I tried with - var name = window.location.pathname; putting in the .jade file and it did not work, but if it is possibl...
asked by 13.08.2015 / 04:24
1
answer

socket.io within express.js or vise versa

How do I put the sockets inside an express post? I need to identify a connect from the express session app.post('/login',function(req,res){ io.sockets.on('connection', function(socket){ ............... }); }); T...
asked by 05.05.2015 / 22:27