Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while setup #11

Closed
vasnt opened this issue Jul 23, 2024 · 17 comments
Closed

error while setup #11

vasnt opened this issue Jul 23, 2024 · 17 comments

Comments

@vasnt
Copy link
Contributor

vasnt commented Jul 23, 2024

While running > bun run setup
gives below error
image

@Dhravya
Copy link
Owner

Dhravya commented Jul 23, 2024

Hi @vasnt! What operating system are you using?

@vasnt
Copy link
Contributor Author

vasnt commented Jul 23, 2024

@Dhravya Windows. installing via powershell

@Dhravya
Copy link
Owner

Dhravya commented Jul 23, 2024

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
Copy link
Contributor Author

vasnt commented Jul 23, 2024

  • do i need to create cloudflare account for that? on its website
  • how to find accountid? is it email id which is registered with cloudflare?

@Dhravya
Copy link
Owner

Dhravya commented Jul 23, 2024

  1. Yes
  2. Account id can be found on the workers & pages section
image

@Dhravya
Copy link
Owner

Dhravya commented Jul 23, 2024

I should update that in the readme. Thanks.

@vasnt
Copy link
Contributor Author

vasnt commented Jul 23, 2024

I couldnt locate account details section.

image

@Dhravya
Copy link
Owner

Dhravya commented Jul 23, 2024

image

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

@vasnt
Copy link
Contributor Author

vasnt commented Jul 23, 2024

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

@leestreetnet
Copy link

leestreetnet commented Jul 23, 2024

Need to setup wrangler and login with your Cloudflare account

bunx wrangler login (fixed bun >> bunx)

@leestreetnet
Copy link

leestreetnet commented Jul 23, 2024

@vasnt did bunx wrangler login work for you

(fixed bun >> bunx)

@Dhravya
Copy link
Owner

Dhravya commented Jul 23, 2024

it would be bunx wrangler login

@vasnt
Copy link
Contributor Author

vasnt commented Jul 24, 2024

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

@Dhravya
Copy link
Owner

Dhravya commented Jul 24, 2024 via email

@vasnt
Copy link
Contributor Author

vasnt commented Jul 24, 2024

image

image

image

@raghav2122
Copy link

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.

  • From @cloudflare/next-on-pages

try running the project with debian/linux based os

@my-neme-eh-jeff
Copy link

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

@Dhravya Dhravya closed this as completed Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants