Skip to content

nodejs

Members Public

How to change the version of an npm package associated with a specific tag

If publishing experimental npm packages is a somewhat regular part of your development workflow, you've likely experienced some nerves around publishing that package incorrectly such that it becomes the version that anyone newly installing or upgrading the package gets. If you find that you accidentally did exactly this

How to change the version of an npm package associated with a specific tag
Members Public

Bug in dependency or module resolution issues? Debugging with Selective Dependency Resolutions

When multiple versions of a dependency are used in your Node project and you start seeing build or import errors related to that dependency, it can be frustrating to solve. I recently learned about selective dependency resolutions (SDR) and it has since made me more confident in debugging these types

Members Public

Avoid package resolution errors by setting a package manager in the package.json

Developers working on Node projects have likely encountered errors related to package resolution at some point in their careers. It's so common that removing the node_modules directory and reinstalling all of the project dependencies is one of the first things folks attempt in an effort to resolve