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.
5 Replies
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
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.
Are you using the pages GitHub integration on the dashboard or wrangler to deploy via CLI or CI/CD
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