Skip to content

Command to develop Angular apps locally with Workers does not exist #21941

@daguttt

Description

@daguttt

Existing documentation URL(s)

  1. https://developers.cloudflare.com/workers/frameworks/framework-guides/angular/#2-develop-locally
  2. https://developers.cloudflare.com/workers/frameworks/framework-guides/angular/#1-set-up-a-new-project

What changes are you suggesting?

The proposed command to start the development server (see, first link above): ...

pnpm run dev

... fails because the generated package.json doesn't include a dev script when creating a brand new Workers + Angular app using the command shown in the second link above (up to today: Wednesday, April 23rd 2025):

pnpm create cloudflare@latest my-angular-app --framework=angular --platform=workers

The possible alternative would be the start script (pnpm run build && wrangler dev) which lacks the ability of rebuilding the Angular application after file changes. This might be a limitation of the Angular CLI dev-server builder which encapsulates the usage of Vite and doesn't allow to configure it directly (possibly for using the Cloudflare Vite plugin).

Additional information

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions