In my case:
For example in Nx if your index.ts file exports two components: Component1 and Component2 and you import Component2 into Component1 using ...from '@...'; It will throw this reading 'ɵcmp' error
To fix use './...'
Component1 is basically re-exporting Component2