Top "Express" questions

Express is a minimal and flexible Node.

Writing files in Node.js

I've been trying to find a way to write to a file when using Node.js, but with no success. …

javascript node.js file express fs
How to get GET (query string) variables in Express.js on Node.js?

Can we get the variables in the query string in Node.js just like we get them in $_GET in …

node.js query-string express
Error: Can't set headers after they are sent to the client

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 …

javascript node.js express
How to retrieve POST query parameters?

Here is my simple form: <form id="loginformA" action="userlogin" method="post"> <div> <label for="…

javascript node.js post express
Client on node: Uncaught ReferenceError: require is not defined

So, I am writing an application with the node/express + jade combo. I have client.js, which is loaded on …

javascript node.js sockets express pug
Proper way to return JSON using node or Express

So, one can attempt to fetch the following JSON object: $ curl -i -X GET http://echo.jsontest.com/key/value/…

json node.js express httpresponse
Why doesn't adding CORS headers to an OPTIONS route allow browsers to access my API?

I am trying to support CORS in my Node.js application that uses the Express.js web framework. I have …

node.js express coffeescript cors
Start script missing error when running npm start

I'm receiving this error when trying to debug my node application using the npm start command. Error: npm ERR! Windows_…

javascript node.js express package.json npm-scripts
npm WARN package.json: No repository field

I installed Express.js with the following command: sudo npm install -g express I get the following warnings: npm WARN …

node.js express npm
How do I debug error ECONNRESET in Node.js?

I'm running an Express.js application using Socket.io for a chat webapp and I get the following error randomly …

node.js sockets tcp express