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

Update application builder error message #167

Merged
merged 2 commits into from
Apr 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions packages/@apphosting/adapter-angular/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ export async function checkStandaloneBuildConditions(cwd: string): Promise<void>

const { builder } = workspaceProject.targets.get(target)!;
if (builder !== REQUIRED_BUILDER) {
throw new Error("Only the Angular application builder is supported.");
throw new Error(
"Only the Angular application builder is supported. Please refer to https://angular.dev/tools/cli/esbuild#for-existing-applications guide to upgrade your builder to the Angular application builder. ",
);
}
}

Expand All @@ -64,7 +66,9 @@ export async function checkStandaloneBuildConditions(cwd: string): Promise<void>
*/
export function checkMonorepoBuildConditions(builder: string): void {
if (builder !== REQUIRED_BUILDER) {
throw new Error("Only the Angular application builder is supported.");
throw new Error(
"Only the Angular application builder is supported. Please refer to https://angular.dev/tools/cli/esbuild#for-existing-applications guide to upgrade your builder to the Angular application builder. ",
);
}
}

Expand Down
Loading