miniflare
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.
I'm trying to fetch data from the Finnish transit API's but they return 500 with Miniflare's fetch. The request headers look a bit odd: Using `node-fetch` for example works fine,...
In the following test case: ``` await storage.transaction((txn) => { void txn.put('some key', 'some value') console.warn(storage.get('some key')) }) console.warn(storage.get('some key')) ``` the gets don't read back the writes.
I created a [repo with the minimum setup to reproduce](https://github.com/saibotsivad/repro-miniflare-issue-001). --- When using `--mount` in sub-directories and `--env` the filename passed in is ignored. ## Working If the filename is...
My code work in a worker in cloudflare worker but not in loacl The Error : `TypeError: Cannot read properties of undefined (reading 'split') at handleRequest (/home/valentin/test.js:2925:45) at /home/valentin/test.js:3065:27 at...
I am currently testing something that is heavily reliant on KV and caching and metadata. And it would be great if I could switch Miniflare to switch from using an...
As a wannabe first time contributor it's not clear how to developer miniflare locally. Personally I've never worked with npm workspaces and right now I can't build the project locally...
Thank you for this awesome library, I have been migrating a React SSR project from the [Node.js server](https://github.com/lukeed/polka) to Miniflare. On client-side, after I turned on the `globalAsyncIO` and `globalTimers`...
Example code (simplified version of what my script is doing), local disk persistence is turned **on** for DOs: ``` const key = "foo" state.storage.put(key, { bar: 1}) const value =...
It would be great if like the KV store I could upload files when running in wrangler as this would allow me to much more quickly build my applications locally...
In the miniflare v1, the console.log invocations inside of Durable objects are printed to the console. In version 2.0.0-rc.4 that is not happening