-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Multiple Components v19 | ReferenceError: Cannot access 'Splitter' before initialization #17759
Comments
I have the same issue with the Stepper Component using Jest, also after updating to 19.0.7: ReferenceError: Cannot access 'Step' before initialization |
Adding a 'me too'.
|
What the heck is happening to this library? It feels like it falls apart more and more with every version 😟 |
@floreauwe , can you change this to "Multiple Components" as this also affects |
…at havent been defined yet
I put up a PR to fix this issue. The issue is PrimeNG is referencing classes that haven't been defined and you have to use |
Describe the bug
After upgrading primeNG from 19.0.6 to 19.0.7, I encounter this new error.
Test suite failed to run
ReferenceError: Cannot access 'Splitter' before initialization
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
Environment
"dependencies": {
"@angular/animations": "^19.1.7",
"@angular/common": "^19.1.7",
"@angular/compiler": "^19.1.7",
"@angular/core": "^19.1.7",
"@angular/forms": "^19.1.7",
"@angular/platform-browser": "^19.1.7",
"@angular/platform-browser-dynamic": "^19.1.7",
"@angular/router": "^19.1.7",
"@ngx-translate/core": "^16.0.4",
"@primeng/themes": "^19.0.7",
"primeng": "^19.0.7",
"rxjs": "~7.8.0",
"tslib": "^2.8.1",
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^19.1.8",
"@angular/cli": "~19.1.8",
"@angular/compiler-cli": "^19.1.7",
"typescript": "^5.7.3"
},
Angular version
19.1.7
PrimeNG version
v19
Node version
22.12.0
Browser(s)
No response
Steps to reproduce the behavior
Upgrade from 19.0.6 to 19.0.7
Run spec file and test
Expected behavior
It should pass
The text was updated successfully, but these errors were encountered: