馃悰 BUG: Wrangler + Angular SSR (prerender: false) + Private properties = TypeError: Class constructor t cannot be invoked without 'new'
#5263
Labels
bug
Something that isn't working
Which Cloudflare product(s) does this pertain to?
Pages
What version(s) of the tool(s) are you using?
2.14.2 [create-cloudflare]
What version of Node are you using?
20.11.1
What operating system and version are you using?
macOS Sonoma 14.4
Describe the Bug
Observed behavior
I noticed that:
npm create cloudflare@latest my-angular-app -- --framework=angular
, an Angular SSR app is created with additional files and changes to make it work with Cloudflare Workers/Pages."prerender": true
onangular.json
)"prerender": false
), so everything is Server Side Rendered (SSR), and add a private property, things break.Expected behavior
SSR should just work and not break with private properties.
Steps to reproduce
npm create cloudflare@latest my-angular-app -- --framework=angular
"prerender": false
onangular.json
#test = 'test'
)npm run start
and pressb
cc: @petebacondarwin @alan-agius4 @JeanMeche
Please provide a link to a minimal reproduction
https://github.com/nunoarruda/my-angular-app
Please provide any relevant error logs
The text was updated successfully, but these errors were encountered: