Dhravya / cloudflare-saas-stack

Quickly make and deploy full-stack apps with database, auth, styling, storage etc. figured out for you. Add all primitives you want.
2.94k stars 210 forks source link

error while setup #11

Closed vasnt closed 1 week ago

vasnt commented 1 month ago

While running > bun run setup gives below error image

Dhravya commented 1 month ago

Hi @vasnt! What operating system are you using?

vasnt commented 1 month ago

@Dhravya Windows. installing via powershell

Dhravya commented 1 month ago

ah, dang it. I didn't get to test it on windows.

Can you try adding CLOUDFLARE_ACCOUNT_ID=(youraccountid) in the environment variables and running it again?

vasnt commented 1 month ago
Dhravya commented 1 month ago
  1. Yes
  2. Account id can be found on the workers & pages section image
Dhravya commented 1 month ago

I should update that in the readme. Thanks.

vasnt commented 1 month ago

I couldnt locate account details section.

image

Dhravya commented 1 month ago
image

Your account ID is also in the URL to that page.

vasnt commented 1 month ago

Thanks, but error is still same after adding it in environment variables.

leestreetnet commented 1 month ago

Need to setup wrangler and login with your Cloudflare account

bunx wrangler login (fixed bun >> bunx)

leestreetnet commented 1 month ago

@vasnt did bunx wrangler login work for you

(fixed bun >> bunx)

Dhravya commented 1 month ago

it would be bunx wrangler login

vasnt commented 1 month ago

@leestreetnet yes, it led me as below. what is next step to do? image

Dhravya commented 1 month ago

go to terminal and re run setup

Dhravya Shah https://dhravya.dev On Jul 24, 2024 at 10:21 -0500, vasnt @.***>, wrote:

@leestreetnet yes, it lead me as below. what is next step to do? image.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

vasnt commented 1 month ago

image

image

image

raghav2122 commented 1 month ago

It seems like you're on a Windows system, the Vercel CLI (run by @cloudflare/next-on-pages to build your application) seems not to work reliably on Windows so if you experience issues during the build process please try switching to a different operating system or running @cloudflare/next-on-pages under the Windows Subsystem for Linux.

try running the project with debian/linux based os

my-neme-eh-jeff commented 1 month ago

If I dont have WSL on my system and would want to deploy using git connection, what would the build settings be here? image