Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#62569 - [node-gyp] Installs broken semver symlink
Attached to Project:
Community Packages
Opened by helle vaanzinn (glitsj16) - Tuesday, 07 May 2019, 19:09 GMT
Last edited by David Runge (dvzrv) - Saturday, 31 August 2019, 23:54 GMT
Opened by helle vaanzinn (glitsj16) - Tuesday, 07 May 2019, 19:09 GMT
Last edited by David Runge (dvzrv) - Saturday, 31 August 2019, 23:54 GMT
|
DetailsDescription:
Installing node-gyp results in a broken symlink for semver. Additional info: * package version(s) $ pacman -Q node-gyp node-gyp 4.0.0-1 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: Just install node-gyp I'm seeing a broken symlink in /usr/lib/node_modules/node-gyp/node_modules/.bin/semver. It points to ../semver/bin/semver but that is 2 steps up the path-chain in ../../../semver/bin/semver. Pretty much the same as what happens in https://bugs.archlinux.org/task/62563 for gulp... |
This task depends upon

Overwrite the link with one pointing to the correct location. Please test.

What I wonder is... for these nodes packages with broken semver links, is it really needed to distribute its node_modules/.bin dir inside the archlinux package? Are those needed for the operations of the package itself?

@loqs: Just saw your patch. Works great for me!