Skip to content

🐛 BUG: npm create cloudflare@latest --framework angular has bug in initial template #7341

@neomax7

Description

@neomax7

Which Cloudflare product(s) does this pertain to?

Wrangler

What version(s) of the tool(s) are you using?

wrangler@3.90.0

What version of Node are you using?

v20.18.1

What operating system and version are you using?

Mac Sequoia 15.1.1

Describe the Bug

Observed behavior

Please describe.
npm create cloudflare@latest --framework angular
initialize a template for angular development using angular v19
the initialed template has typo in @/src/server.ts at line 8

instead of const res = await angularApp.render(req);
expect
const res = await angularApp.handle(req);
reference
official doc reference

Expected behavior

Please describe.
npm run start
work as intended, right now it fails

Steps to reproduce

Please provide the following:

  • A minimal working subset of your worker code
  • A minimal working subset of your wrangler.toml
  • Commands used to start your local dev server, including custom env and cli args
  • Steps to be performed in the browser, curl commands, or a test we can run that reliably fails (at least a percent of the time)
    npm create cloudflare@latest --framework angular npm run start fails
    A git repo we can clone and run a test suite on, or which has a README with step-by-step instructions, is even better. In this case, please use the field below to provide a link to the minimal repro.

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions