Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 2015 16:04:23 -0500
From:      Brandon J. Wandersee <brandon.wandersee@gmail.com>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        Polytropon <freebsd@edvax.de>, freebsd-questions@freebsd.org
Subject:   Re: GitBook on FreeBSD?
Message-ID:  <867fmlnr54.fsf@WorkBox.Home>
In-Reply-To: <20151017103510.GB2597@c720-r276659>
References:  <20151016064251.GA1975@c720-r276659> <86mvvjymhd.fsf@WorkBox.Home> <20151016183244.GA21879@c720-r276659> <20151017012617.3bc51864.freebsd@edvax.de> <20151017103510.GB2597@c720-r276659>

next in thread | previous in thread | raw e-mail | index | archive | help

Matthias Apitz writes:

> As you see above, I tried it as a normal user und chown'ed the top level
> dir /usr/local/lib/node_modules to his (mine) owner.

This isn't a good idea.

https://docs.npmjs.com/getting-started/installing-npm-packages-locally

Note that I don't use Node.js myself, so if those instructions cause
problems I'm afraid I can't help. I just figured that just as Python
eggs, Ruby gems, and Haskell Cabal packages can be installed locally as
a regular user, so can Node packages. It seems that's the case.

-- 
=================================================================
   		      :: Brandon Wandersee ::
                  :: brandon.wandersee@gmail.com ::
==================================================================
'A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete
fools.'
                            			- Douglas Adams
==================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867fmlnr54.fsf>