Suddenly, a lightbulb went off in my head. I encountered two warnings while running ng serve:
WARNING in Circular dependency detected:
src\app\_services\ignore-interceptor.service.ts ->
src\app\_services\index.ts -> src\app\_services\ignore-
interceptor.service.ts
WARNING in Circular dependency detected:
src\app\_services\index.ts -> src\app\_services\ignore-
interceptor.service.ts -> src\app\_services\index.ts
i 「wdm」: Compiled with warnings.
The code snippets involved are:
ignore-interceptor.service.ts
import { UserService } from '../_services';
...
...
index.ts:
export * from './alert.service';
export * from './authentication.service';
export * from './user.service';
export * from './ignore-interceptor.service'
Upon removing import { UserService } from '../_services'; from ignore-interceptor.service.ts, the warnings disappear.
Any suggestions?
Thank you