Closed phivk closed 2 years ago
same behaviour for
$ ng serve
It seems you are seeing the same error appearing in CI . As creating an ng component will also provide a test for the component for free. We can run test locally and resolve issues.
I'm genuinely a bit confused by this. All our components are declared in app.module.ts as they should be. It also seems odd that the GH checks were working fine up to a point and then started failing constantly from then on. I can't see an easy way of suppressing checks and the test errors don't make enough sense to me to be able to fix them. I'll continue looking and also install and try to build the Angular app on my other laptop in case that throws up any clues.
@JaseMK I was able to trace the issue to this commit: ba7ec5e444f99fed8af88d292f3fb15dab9c289c From that moment on, the errors appear. Earlier commits work fine.
@JaseMK I removed my node_modules dir and did a fresh npm install
and the errors are gone!
really sorry to cause confusion!
On the latest
develop
, when I runit throws many errors like the one below:
On that latest commit, the CI build test also failed: https://github.com/polifonia-project/sonar2021_demo/runs/3937737344
@JaseMK this seems to have something to do with the way components are (not) registered or imported? Am I perhaps missing a config locally?