I thought I understood the difference between
npm link x
and
npm install /local/path/to/x
originally I thought the former created a symlink to x, whereas the latter installed a separate copy of x in your project, instead of symlinking it.
However, I recently noticed that my original impression was wrong, and they both seem to use symlinks - so is there a difference between the two and what is it?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…