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

Component: MeterGroup: "Standard Angular field decorators are not supported in JIT mode." #15305

Closed
joshuahills opened this issue Apr 18, 2024 · 1 comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@joshuahills
Copy link

joshuahills commented Apr 18, 2024

Describe the bug

When using a MeterGroup component this error appears in the console:

chunk-C37TKYMN.js:7 ERROR Error: Standard Angular field decorators are not supported in JIT mode.
    at e.u [as container] (chunk-C37TKYMN.js:3:26235)
    at $s.effectFn (chunk-5QU3QOS7.js:1:5192)
    at $s.runEffect (chunk-C37TKYMN.js:7:117686)
    at Object.fn (chunk-C37TKYMN.js:7:117570)
    at Object.a [as run] (chunk-C37TKYMN.js:1:4685)
    at $s.run (chunk-C37TKYMN.js:7:117784)
    at Bs.flushQueue (chunk-C37TKYMN.js:7:117435)
    at chunk-C37TKYMN.js:7:117352
    at k.invoke (polyfills-RT5I6R6G.js:1:6434)
    at Object.onInvoke (chunk-C37TKYMN.js:7:60156)

This is also the case for your documentation site

Environment

Angular version: 17.3.4
PrimeNG version: 17.13.0

Reproducer

https://stackblitz.com/edit/github-n15q4x?file=src%2Fapp%2Fapp.component.ts

Angular version

17.3.4

PrimeNG version

17.13.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.9.0

Browser(s)

No response

Steps to reproduce the behavior

  1. Open StackBlitz reproduction or PrimeNG documentation (https://primeng.org/metergroup)
  2. Open browser console
  3. Observe error

Expected behavior

No response

@joshuahills joshuahills added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 18, 2024
joshuahills added a commit to joshuahills/primeng that referenced this issue Apr 18, 2024
Use the new viewChild signal query instead of the unintended decorator ViewChild. Fixes primefaces#15305
@joshuahills
Copy link
Author

Looks like this has been fixed in 4c7e151 so I will close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant