Report
Question
I’m fairly new to Node.js and I am having some issues. I am using Node.js 4.10 and Express 2.4.3. When I try to access http://127.0.0.1:8888/auth/facebook, i’ll be redirected to http://127.0.0.1:8888/auth/facebook_callback. I than received the following error: Error: Can't render headers ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
12 Answer 7 views

Report
Question
I am trying to support CORS in my Node.js application that uses the Express.js web framework. I have read a Google group discussion about how to handle this, and read a few articles about how CORS works. First, ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
15 Answer 6 views

Report
Question
I’m trying this classic implementation of an expressjs server with socketio: this.app = express(); this.server = http.createServer(this.app); this.io = socket(this.server); But typescript throw those errors : src/server/ts/app.ts(23,38): error TS2345: Argument of type ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 19 views

Report
Question
What is the best practice to send two independed MongoDB results in Express application via HTTP Method? Here is a short example which makes it clear: //app.js var express = require('express'); var app = express(); var testController = require('./controllers/test'); app.get('/test', testController.getCounts); ... Following getCounts() function wouldn’t work because ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
2 Answer 29 views

Report
Question
I’d like to extend “base” REST calls using express but I think I’m running into a limitation (or my lack of understanding). I want all REST endpoints share the same basic REST routes. I don’t want to write these for ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
2 Answer 18 views

Report
Question
I have been able to successfully run express within the electron app via repositories such as https://github.com/theallmightyjohnmanning/electron-express https://github.com/frankhale/electron-with-express However, I was advised not to do so due to the GNU GENERAL PUBLIC LICENSE that they impose. I am ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 25 views

Report
Question
I have a simple nodejs page with textbox and a button. After the user clicks the button, I want to read the user input and validate it. If the input is not OK then stay on the same page and ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 34 views

Report
Question
I am not sure what is smart to do. Should I check if facebook access token is valid inside in middlware or maybe is better solution to make route which check if facebook access token valid and then return JWT access ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 24 views

Report
Question
I’m running a application with node js (more specifically express js) and I save some datas with a mysql client. It perfectly works for some time with no issue but then all of suddden I get these erros: Trace: Cannot enqueue ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 55 views