You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -160,13 +164,28 @@ async function ensureProjectExists(projectName: string) {
160
164
});
161
165
if(!result.success){
162
166
thrownewError(
163
-
`Unable to access Cloudflare Pages project '${projectName}'. Create it first with 'wrangler pages project create ${projectName}' or run without --no-prompt.`,
167
+
`Unable to access Cloudflare Pages project '${projectName}'. Ensure Wrangler is authenticated (wrangler login or CLOUDFLARE_ACCOUNT_ID/CLOUDFLARE_API_TOKEN) and the project exists. Create it first with 'wrangler pages project create ${projectName} --production-branch <branch>' or run without --no-prompt.`,
0 commit comments