Closed beaurancourt closed 3 years ago
Calling npm link multiple times in one directory, for whatever reason, unlinks all links and then only links the executed command. So:
npm link
npm link foo npm link bar
will link foo, unlink foo, and then link bar. This leaves you with only bar linked. To link both, we flatten the command:
foo
bar
npm link foo bar
tagging @Shadowfiend for review since we discovered it while getting my environment booted up
Rerunning from scratch seems to have behaved as expected, so let's do this thing.
Calling
npm link
multiple times in one directory, for whatever reason, unlinks all links and then only links the executed command. So:will link foo, unlink
foo
, and then linkbar
. This leaves you with onlybar
linked. To link both, we flatten the command:tagging @Shadowfiend for review since we discovered it while getting my environment booted up