Closed leesei closed 8 years ago
Yeah you should have rights to that directory or use sudo
I think I encountered this issue 'cause I use nvm
to avoid sudo
-ing for
global packages.
How about adding sudo
for the make
target?
But that would break unattended installs and I doubt if it is a good
practice.
I'll try to look for any way to install manpage without sudo.
On Fri, May 8, 2015 at 1:31 AM, Joseph Werle notifications@github.com wrote:
Yeah you should have rights to that directory or use sudo
— Reply to this email directly or view it on GitHub https://github.com/jwerle/rfc/issues/5#issuecomment-99949291.
Update: I'm using nvm and found that the man page actually symlinked to ~/.nvm/versions/node/v0.12.3/share/man/man1
, which is in my $MANPATH
.
I'm not sure how this works, just to share this finding for further investigation.
EDIT: that manpage is installed beacuse https://docs.npmjs.com/files/package.json#man
So we don't need make man
actually.
I'm encounter this on Mint 15 and LDME.
A workaround is
sudo chmod 777 /usr/local/share/man/
.