express icon indicating copy to clipboard operation
express copied to clipboard

Fast, unopinionated, minimalist web framework for node.

Results 242 express issues
Sort by recently updated
recently updated
newest added

I started using express as part of Angular Universal and started facing this issue: https://github.com/angular/universal/issues/2827 1. Request with no trailing slash (/welcome) 2. A 301 redirect returned to request with...

awaiting more info

I am finding very useful to make use of adapter functions so you can write plain TypeScript (JavaScript) controllers and use them in express without compromising them. A simple example:...

discuss
question

# Breif Currently inorder to close an express app (server) the developer needs to capture the returning `http.server` from `app.listen`. This practice is not documented by express, and requires the...

In a request we can get the originalUrl, which is the complete URL for the request after it has travelled through nested routes. But I think an originalRoute would be...

discuss
module:router

Hi, I'm using ```app.use(`/${STATIC_PATH}`, express.static(LOCAL_ROOT_DIR))``` to serve static file and it works quite well. However, if the static file is symlinked, it return 404 error. Is there a way to...

question

The response body of a redirect via the `res.redirect()` method will be `${statuses.message[status]} Redirecting to ${url}`, which is invalid HTML without a `DOCTYPE` and `` element. In particular, the absence...

awaiting more info

According to the nodejs official documentation, module.parent is deprecated since: v14.6.0, v12.19.0。[module.parent](https://nodejs.org/docs/latest-v14.x/api/modules.html#modules_module_parent) So i use use module.children instead !module.parent in this example。

examples
pr

After using the following code, express still terminates and does not output anything to the console ```js process .on("unhandledRejection", (reason, p) => { console.log(reason, " | Unhandled Rejection at Promise...

discuss
investigate

code for app.js app.js //serving public file const public_path = path.join(__dirname,"../public"); app.use(express.static(public_path)); //serving dynamic file const dynamic_path = path.join(__dirname,"../templates/views"); app.set("view engine","hbs"); app.set("views", dynamic_path); //serving dynamic file const partials_path = path.join(__dirname,"../templates/partials");...

discuss
investigate
awaiting more info

At the date of the PR : - nodejs 16 last version is 16.18, see https://github.com/nodejs/node/releases/tag/v16.18.0 - nodejs 18 last version is 18.12, see https://github.com/nodejs/node/releases/tag/v18.12.0 Note : nodejs 19 update...

pr