Lea Verou on Nostr: npm link is a textbook example of a great idea rendered near-unusable by poor design ...
npm link is a textbook example of a great idea rendered near-unusable by poor design (or implementation? Hard to tell).
The purpose is clear: Link to certain deps locally, so you can modularize without having to get every change through npm or make edits.
But it silently stops working and modules fall back to installed versions seemingly at random.
I have yet to build a consistent mental model about when exactly this happens. At this point, I can't even confidently assert it's deterministic!
The purpose is clear: Link to certain deps locally, so you can modularize without having to get every change through npm or make edits.
But it silently stops working and modules fall back to installed versions seemingly at random.
I have yet to build a consistent mental model about when exactly this happens. At this point, I can't even confidently assert it's deterministic!