micro icon indicating copy to clipboard operation
micro copied to clipboard

Asynchronous HTTP microservices

Results 14 micro issues
Sort by recently updated
recently updated
newest added

I am not good at English, so I can't accurately describe the problem. I mark the code in question and note my code. **The code in question:** bin/micro.js ``` function...

Hi everyone, [@isomorphic-git/cors-proxy](https://github.com/isomorphic-git/cors-proxy) depends on `micro`. One of my projects using that package wasn’t working correctly anymore this morning despite there not being any updates to the package itself. I...

I am not able to pin point the problem why it breaks in node:12-alpine image. When I log into the container I do see process listening on port 3000. But...

Version 9.4.1 blocks any request. The browser shows "waiting" status. Version 9.4.0 works fine. FreeBSD: 12.2 node: v14.16.1.

Hi there, thanks for this fine tool. I'm wondering if the version in the NPM registry is not actually 9.4.1? I ask because after installation I'm having trouble using Micro...

On TS programmatic usage from the docs does not work correctly, and it's due to the wrong type annotation of `serve` function https://github.com/vercel/micro/blob/main/packages/micro/types/src/lib/index.d.ts#L5 I think it's return type should be...

This PR supersedes https://github.com/vercel/micro/pull/475 ## Context Resolves https://github.com/vercel/micro/issues/474 Windows users get the following error: > [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data are supported by the default ESM...

const express = require("express"); const cors = require("cors"); const dotenv = require("dotenv"); const paymentRoutes = require("./Routes/payment"); const app = express(); dotenv.config(); app.use(express.json()); app.use(cors()); app.options('*', cors()); app.use( cors({ origin: true, optionsSuccessStatus:...

Am getting permission errors even when I open command prompt as administrator. ``` micro: Accepting connections on port 3000 micro: Error: listen EACCES: permission denied 127.0.0.1 at Server.setupListenHandle [as _listen2]...