miniflare icon indicating copy to clipboard operation
miniflare copied to clipboard

🔥 Fully-local simulator for Cloudflare Workers. For the latest version, see https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare.

Results 134 miniflare issues
Sort by recently updated
recently updated
newest added

Attempting to construct an instance of `DurableObjectState` inside a jest test in a project using typescript fails with the following error: ``` Jest encountered an unexpected token Jest failed to...

dependency

I have problems like: ``` Argument of type 'DurableObjectId' is not assignable to parameter of type 'import(".../node_modules/@miniflare/durable-objects/dist/src/index").DurableObjectId'. Type 'DurableObjectId' is missing the following properties from type 'DurableObjectId': #private, [kObjectName] ```...

I found this project use selfsigned package to generate certificates. I recently played with it in vite and found it does not generate valid certificates. Chrome shows red wall. Is...

enhancement

We used the miniflare in jest environment. The cf properties were not found in the request. We cloned your [repo](https://github.com/mrbbot/miniflare-typescript-esbuild-jest), ran the tests, and logged the request. We logged the...

question

Currently the cache is not reset when reloading the worker. I have a `[site]` which gets `cached`, when I reload the worker to refresh the frontend (`[site]`), my old assets...

enhancement

I would love to be able to add environment variables for local development in the same place as those for production (in `wrangler.toml`), instead of `.env` special-casing.

enhancement

It looks like miniflare reads a .env file but not the actual shell ENV-- is that intentional? I'm used to other implementations of .env always prioritizing the command-line vars, so...

enhancement

## Environment Miniflare 2.0.0 running in VS Codespaces (Debian, Node 16) ## Description/Reproduction I ran into a pretty specific issue when trying to debug “Uncaught exceptions” with VS Code. This...

dependency

Noticed a difference between Cloudflare workers and miniflare. If a fetch fails completely, ie fails to connect to the origin it causes the fetch promise to error out instead of...

behaviour mismatch

Fixes some cases of #34 where miniflare reloads the worker js file as it is being written to (e.g. by webpack), rather than when it has finished emitting. Seems to...

fixed-in-next
legacy-1