Opened 8 years ago

Last modified 7 years ago

#51781 new defect

npm3 symlinks to man pages are broken

Reported by: david135 (David Roth) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: npm3

Description

The symlinks to man pages seem to be broken.

The symbolic links are as follows (a small selection), but the location doesn't exist (below I list the true location).

ls -l /opt/local/share/man/man[157]/npm-[cg]* (results edited to avoid wrapping)
/opt/local/share/man/man1/npm-cache.1 -> ../../../../../../package/man/man1/npm-cache.1
/opt/local/share/man/man1/npm-completion.1 -> ../../../../../../package/man/man1/npm-completion.1
/opt/local/share/man/man1/npm-config.1 -> ../../../../../../package/man/man1/npm-config.1
/opt/local/share/man/man5/npm-global.5 -> ../../../../../../package/man/man5/npm-global.5
/opt/local/share/man/man7/npm-coding-style.7 -> ../../../../../../package/man/man7/npm-coding-style.7
/opt/local/share/man/man7/npm-config.7 -> ../../../../../../package/man/man7/npm-config.7

The files actually seem to be in /opt/local/lib/node_modules/npm/man/ ...

ls /opt/local/lib/node_modules/npm/man/man[157]/npm-[cg]*
/opt/local/lib/node_modules/npm/man/man1/npm-cache.1
/opt/local/lib/node_modules/npm/man/man1/npm-completion.1
/opt/local/lib/node_modules/npm/man/man1/npm-config.1
/opt/local/lib/node_modules/npm/man/man5/npm-global.5
/opt/local/lib/node_modules/npm/man/man7/npm-coding-style.7
/opt/local/lib/node_modules/npm/man/man7/npm-config.7

I installed nodejs6 with the command sudo port install nodejs6, and I installed npm3 with the command (sudo port install npm3). I also tried without nodejs6, and the dependencies install nodejs4 automatically, but the problem with the man pages links remains. If this isn't reproducible, I'll try to investigate further. Thanks for any assistance!

Change History (2)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ciserlohn@…

In the future, please Cc the port maintainers (port info --maintainers npm3), if any.

comment:2 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added

Confirmed; also npm4 installs man pages which are not in the normal share/man

Note that npm5's man pages are correct.

Note: See TracTickets for help on using tickets.