Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou...
by kristjansson on Sunday January 09, 2022 @10:46PM
(#29870355)
But you can roll back your dependencies until your entire dependency graph avoids a bad version.
[ Parent
| on HN ]
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou...
by umvi on Sunday January 09, 2022 @10:48PM
(#29870369)
Yeah but in this case you might not be directly dependent on colors. You might be dependent on http-server, which is in turn dependent on colors. You can only roll back http-server, and unless http-server rolls back colors, you are stuck.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou...
by kristjansson on Sunday January 09, 2022 @11:40PM
(#29870730)
So set it in overrides? Blacklist it in your private mirror? It’s your project, your environment, and your computer, you’re never stuck.