[MacPorts] #51781: npm3 symlinks to man pages are broken

MacPorts noreply at macports.org
Wed Jul 6 09:29:29 PDT 2016


#51781: npm3 symlinks to man pages are broken
---------------------+--------------------------------
 Reporter:  droth@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.3.4
 Keywords:           |       Port:  npm3
---------------------+--------------------------------
 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!

-- 
Ticket URL: <https://trac.macports.org/ticket/51781>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list