Skip to content

Instantly share code, notes, and snippets.

@electricg
Created January 16, 2018 22:21
Show Gist options
  • Save electricg/68f1d42e29a322b5f3bc34748bac1f8e to your computer and use it in GitHub Desktop.
Save electricg/68f1d42e29a322b5f3bc34748bac1f8e to your computer and use it in GitHub Desktop.
npm link / unlink
@FreePhoenix888
Copy link

FreePhoenix888 commented Dec 26, 2022

@electricg , npm unlink does not work for me now, what about you?
Node version is 14.15.0

freephoenix888@freephoenix888:~/aNodeProject$ npm link

added 1 package, and audited 3 packages in 1s

found 0 vulnerabilities
freephoenix888@freephoenix888:~/aNodeProject$ npm unlink
npm ERR! Must provide a package name to remove

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/freephoenix888/.npm/_logs/2022-12-26T11_52_34_532Z-debug-0.log

I have found solution:
Use npm uninstall --global instead of npm unlink

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment