So, I ran into this nasty issue in the following situation:
- Multiple TypeScript projects
- Running Webpack (via Angular CLI) on web project
- npm linking from my web project to other local projects
- Common downstream dependencies that are referenced in multiple local projects such as rxjs, firebase, @angular/core, etc.
When I first tried to run Webpack (via the Angular CLI) in this situation it choked even though it worked fine without npm linking. Specifically, I got two types of errors/warnings: