Wrangler can't find project
# pages-help
j
I'm trying to deploy my project using Wrangler CLI. I'm following this guide: https://dash.cloudflare.com/fdc0eac530c24f51565ad958399142a1/pages/new/wrangler-guide For the last step, I'm running this command: "CLOUDFLARE_ACCOUNT_ID=fdc0eac530c24f51565ad958399142a1 npx wrangler pages publish next" next is the folder with my build. I get the error "Project not found. The specified project name does not match any of your existing projects." Also, I don't know where to find my account ID.
c
Your Account ID is in the command there (and in the dashboard url), it's
fdc0eac530c24f51565ad958399142a1
. It's not private or anything. If you're using next.js, I believe the output directory should either be
out
for static builds or
.vercel/output/static
if using next on pages (ex.
npx wrangler pages publish out
It should walk you through picking an existing project or creating a new one, make sure you select one