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

Error on unit test angular 19 #17057

Closed
apis3445 opened this issue Dec 14, 2024 · 2 comments
Closed

Error on unit test angular 19 #17057

apis3445 opened this issue Dec 14, 2024 · 2 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@apis3445
Copy link

Describe the bug

Hi! When I set up the unit test I got a lot of errors similar to this:

/node_modules/primeng/fesm2022/primeng-toolbar.mjs:210:85-107 - Error: export 'ɵɵStandaloneFeature' (imported as 'i0') was not found in '@angular/core' (possible exports: ANIMATION_MODULE_TYPE, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, AfterRenderPhase, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPIL

How I can get unit test working correctly?

Environment

Mac OS m1

Reproducer

No response

Angular version

19.0.5

PrimeNG version

18.0.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

23.1.0

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

can execute unit test

@apis3445 apis3445 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 14, 2024
@KeithGillette
Copy link
Contributor

Per #16827, Angular 19 is supported starting with PrimeNG 19.0.0-rc.1, though that closed issue contains a work-around that may allow PrimeNG 18.0.0 to be used with Angular 19.

@mertsincan
Copy link
Member

Details; #16827 (comment)

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

No branches or pull requests

3 participants