This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Help with miniflare CLI on mac #593
Unanswered
haris-codes
asked this question in
Q&A
Replies: 1 comment
-
Hey! 👋 Apologies for the really delayed response, I've only just seen this discussion. 🤦 Miniflare itself no longer ships with a CLI, so I'd recommend you use Wrangler instead: https://developers.cloudflare.com/workers/get-started/guide/#2-develop-with-wrangler-cli. As for the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have installed miniflare globally on my mac but it keeps saying "command not found". It has become a real pain as it is preventing me from deploying the cloudflare worker or even testing it on a dev server. To give some context, I am fighting against this error.
"Uncaught Error: Some functionality, such as asynchronous I/O, timeouts, and generating random values, can only be performed while handling a request."
From what I have learnt, I need to set --global-async-io, --global-timers, and --global-random to true. But again, I can't.
Also, if there is any way to set them to true without using the CLI, please let me know.
I understand this might be a silly question. Please humor me, I am very new to coding and development. Any help is greatly appreciated.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions