How to use npm run dev?

Hello everyone. I'm currently using cloudflare to develop backend. But I can't run num run dev, So I have no choice but to deploy with the num run depoly command. If anyone knows how to run the npm run dev command, please let me know.
8 Replies
Hello, I’m Allie!
What app are you deploying? Is it on Pages? Workers? Are you using a framework?
Adrien
Adrien2w ago
I am deploying to Workers. Can u help me?
Hello, I’m Allie!
Can you share your code?
Adrien
Adrien2w ago
Why? Why do I need code to run it locally?
Hello, I’m Allie!
You need code to run the Worker at all, if that is what you mean? Some features of Workers only run remotely. It is easier for me to check if this is the case if you provide me with the code in question
Adrien
Adrien2w ago
So what if I create a new project and just want to run 'Hello world'? I wanna use npm run dev command
Hello, I’m Allie!
Have you tried npm create cloudflare@latest?
Adrien
Adrien2w ago
Yes. I created like that.
Want results from more Discord servers?
Add your server