NPM dependency madness
-
Has anyone else noticed that NPM and Angular (in particular) generates a shocking number of dependency clashes? When I do an
npm ls -depth=0
I get about one hundred "ERR" lines, saying that I am missing peer dependencies. I am using Angular CLI on Angular 4, and apparently, npm has no "cleanup" function to resolve clashing and missing dependencies. Which begs the question; what the hell is it for, then? :wtf:
One morning I shot an elephant in my pajamas. How he got in my pajamas, I don't know.
-
Has anyone else noticed that NPM and Angular (in particular) generates a shocking number of dependency clashes? When I do an
npm ls -depth=0
I get about one hundred "ERR" lines, saying that I am missing peer dependencies. I am using Angular CLI on Angular 4, and apparently, npm has no "cleanup" function to resolve clashing and missing dependencies. Which begs the question; what the hell is it for, then? :wtf:
One morning I shot an elephant in my pajamas. How he got in my pajamas, I don't know.
-
Has anyone else noticed that NPM and Angular (in particular) generates a shocking number of dependency clashes? When I do an
npm ls -depth=0
I get about one hundred "ERR" lines, saying that I am missing peer dependencies. I am using Angular CLI on Angular 4, and apparently, npm has no "cleanup" function to resolve clashing and missing dependencies. Which begs the question; what the hell is it for, then? :wtf:
One morning I shot an elephant in my pajamas. How he got in my pajamas, I don't know.
I only get 3. But maybe that explains why I'm having trouble with lazy loading. I can lazy load say /home, but not /admin or /reviews
npm ERR! peer dep missing: @angular/common@6.1.0, required by @angular/router@6.1.0
npm ERR! peer dep missing: @angular/core@6.1.0, required by @angular/router@6.1.0
npm ERR! peer dep missing: @angular/platform-browser@6.1.0, required by @angular/router@6.1.0Now I have 0 with Angular 6.1.1 Then 32 others that don't seem significant. I adjusted my package.json and ran npm update
If it ain't broke don't fix it Discover my world at jkirkerx.com