Skip to content

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

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

Open
daguttt opened this issue Apr 23, 2025 · 0 comments
Open

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

daguttt opened this issue Apr 23, 2025 · 0 comments
Labels
content:edit Request for content edits documentation Documentation edits product:workers Related to Workers product

Comments

@daguttt
Copy link

daguttt commented Apr 23, 2025

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

@daguttt daguttt added content:edit Request for content edits documentation Documentation edits labels Apr 23, 2025
@github-actions github-actions bot added the product:workers Related to Workers product label Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content:edit Request for content edits documentation Documentation edits product:workers Related to Workers product
Projects
None yet
Development

No branches or pull requests

8 participants