npm-safe-install icon indicating copy to clipboard operation
npm-safe-install copied to clipboard

Add info to readme about NPM@7 symlink changes

Open Venryx opened this issue 4 years ago • 3 comments

NPM v7 has apparently made significant changes to the npm link command. These can be seen be opening the changelog file, and searching the page for "link". (some matches are related [like the switch from Symbolic Links to Junctions], others are unrelated)

There are a half dozen or so changes, some of which are potentially relevant to this utility's functionality. (Perhaps even removing the need for it! Though let's not get ahead of ourselves, since I haven't tested it yet -- do to having quite a few globally-installed packages that I don't want to copy to the new version right now.)

Anyway, it would be nice if someone could do an evaluation of the npm-link-related changes in version 7, to see how it impacts the functionality and/or need for the npm-safe-install utility.

(I say "someone", but most likely this will be me -- when I finally have the time/motivation to do that testing. :P)

Venryx avatar Feb 22 '21 07:02 Venryx

@Venryx Thanks for the update. Let me know the changes relevant to this utility. I will take proper steps and update the ReadMe accordingly.

UD-UD avatar Feb 22 '21 08:02 UD-UD

Recent issue I just found for it: https://github.com/npm/cli/issues/2372

It looks like the bug may have finally been fixed between [email protected] and [email protected]. (it wasn't confirmed fixed by the issue creator, but the npm dev's saying a set of changes might have fixed it, combined with a lack of follow up by the issue creator, suggests it may have been)

(At some point it will be good to confirm, but I've linked the above in the meantime; haven't tested myself yet because I need to set aside time to re-install my global dependencies when I do.)

Venryx avatar Mar 29 '21 04:03 Venryx

Looks like the bug is still not fixed. 😔

See recent posts in this thread for details: https://github.com/npm/cli/issues/2372

Venryx avatar May 18 '21 10:05 Venryx