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
Copy file name to clipboardExpand all lines: packages/cli-v3/src/commands/dev.tsx
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,17 @@ async function startDev(
130
130
});
131
131
132
132
if(!devEnv.success){
133
-
thrownewError(devEnv.error);
133
+
if(devEnv.error==="Project not found"){
134
+
logger.error(
135
+
`Project not found: ${config.config.project}. Ensure you are using the correct project ref and CLI profile (use --profile). Currently using the "${options.profile}" profile, which points to ${authorization.apiUrl}`
136
+
);
137
+
}else{
138
+
logger.error(
139
+
`Failed to initialize dev environment: ${devEnv.error}. Using project ref ${config.config.project}`
0 commit comments