Link scoped pakcages:
cd ~/projects/node-redis # go into the scoped package directory
npm link # creates global link
cd ~/projects/node-bloggy # go into some other package directory
npm link @myorg/redis # link-install the scoped package
Unlink scoped packages:
cd ~/projects/node-bloggy # go into some other package directory
npm unlink @myorg/redis # unlink-uninstall the scoped package
npm install @myorg/redis # re-install the scoped package
cd ~/projects/node-redis # go into the scoped package directory
npm unlink # deletes global link
@electricg ,
npm unlink
does not work for me now, what about you?Node version is 14.15.0
I have found solution:
Use
npm uninstall --global
instead ofnpm unlink