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.
3.09k stars 231 forks source link

error while setup #11

Closed vasnt closed 2 months ago

vasnt commented 3 months ago

While running > bun run setup gives below error image

Dhravya commented 3 months ago

Hi @vasnt! What operating system are you using?

vasnt commented 3 months ago

@Dhravya Windows. installing via powershell

Dhravya commented 3 months 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 3 months ago
Dhravya commented 3 months ago
  1. Yes
  2. Account id can be found on the workers & pages section image
Dhravya commented 3 months ago

I should update that in the readme. Thanks.

vasnt commented 3 months ago

I couldnt locate account details section.

image

Dhravya commented 3 months ago
image

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

vasnt commented 3 months ago

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

leestreetnet commented 3 months ago

Need to setup wrangler and login with your Cloudflare account

bunx wrangler login (fixed bun >> bunx)

leestreetnet commented 3 months ago

@vasnt did bunx wrangler login work for you

(fixed bun >> bunx)

Dhravya commented 3 months ago

it would be bunx wrangler login

vasnt commented 3 months ago

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

Dhravya commented 3 months 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 3 months ago

image

image

image

raghav2122 commented 3 months 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 3 months 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