Deployment Not Found Kinda?

Ok so im having an issue when i run npm run build then npm run deploy it deploys and successfully builds my project to cloudflare but its in prview mode, When i upload the same folder directly to cloudflare i get a non functioning faild deployment not found? Seems like the branch main works fine but master does not not sure why though.
No description
5 Replies
IEatBeans
IEatBeans8mo ago
I think when you setup the project (and maybe in settings?) you select the branch to use as the production branch. You will have to choose either main or master If you click view details on the ones with the failed deployment you can see why it failed
Dom Cogan
Dom CoganOP8mo ago
No description
Dom Cogan
Dom CoganOP8mo ago
It doesn’t fail when I run "npm run serve" qwik command for running the wrangler server locally and this is what the view details page show me Yeah I had to reset the branch.
IEatBeans
IEatBeans8mo ago
Are you using the pages GitHub integration on the dashboard or wrangler to deploy via CLI or CI/CD
Dom Cogan
Dom CoganOP8mo ago
No when I first set up my cloudflare I put the main branch from GitHub to be mast not main so o fixed that the only issue I have now is when I run my project locally everything works fine but when I try to put it on cloudflare it does not resolve a function. I have a page that is suppose get a list from my database but it never happens
Want results from more Discord servers?
Add your server