Software Engineering :: Programming :: Languages :: JavaScript :: Runtimes :: Node.js :: Package Managers :: NPM :: Link
⪼ Made with 💜 by Polyglot.
cd $(npm root -g)
rm -rf <package>
- Why isn't the npm link command working?
- npm link unreleased version of module makes npm install fail #15537
Sometimes the symlink becomes broken. Just delete it and re-create it manually.
> cd node_modules
> rm {package_name}
> ln -nfs ../../@scope/name
npm ls --depth=0 --link=true --location=project (default if not specified)
npm ls --depth=0 --link=true --location=global
npm ls --depth=0 --link=true --location=user