You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error on npx karma run since ProgressNotifierReporter #31629
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
20.2
Description
The new injected ProgressNotifierReporter (new in Angular 20.3.0) doesn't fully implement Karma's reporter contract. Namely, it misses the adapters array. This means karma run results in an error.
Minimal Reproduction
npm install -g @angular/cli@latest
ng new --defaults example
cd example
npx ng test# On another shell:
npx karma run
Exception or Error
29 10 2025 08:30:25.675:WARN [karma]: Error during refresh file list. TypeError: Cannot read properties of undefined (reading 'push')
at /Users/nicojs/repos/tmp/StrykerMutatorTest/node_modules/karma/lib/reporters/multi.js:11:61
at Array.forEach (<anonymous>)
at MultiReporter.addAdapter (/Users/nicojs/repos/tmp/StrykerMutatorTest/node_modules/karma/lib/reporters/multi.js:11:21)
at Server.<anonymous> (/Users/nicojs/repos/tmp/StrykerMutatorTest/node_modules/karma/lib/middleware/runner.js:97:18)
at Object.onceWrapper (node:events:633:26)
Activity
fix(@angular/build): add adapters to new reporter
fix(@angular/build): add adapters to new reporter
fix(@angular/build): add adapters to new reporter
fix(@angular/build): add adapters to new reporter
fix(@angular/build): add adapters to new reporter
angular-automatic-lock-bot commentedon Nov 29, 2025
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.