From owner-freebsd-questions@freebsd.org Sat Oct 17 21:04:31 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7D86A172D9 for ; Sat, 17 Oct 2015 21:04:31 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-ig0-f181.google.com (mail-ig0-f181.google.com [209.85.213.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A3D4A856 for ; Sat, 17 Oct 2015 21:04:31 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by igbdj2 with SMTP id dj2so34885716igb.1 for ; Sat, 17 Oct 2015 14:04:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; bh=7HyZKbHMU7HugczhpAXB4oPdAROXl6Ag7mjXM41+UPk=; b=fdYmWJI3JecPuhAzYXPiSw651J/kjauxoJpY7Z8gS+9m1txEn72Djwvb9PQe4rByV0 uYeNUEfRtC3nNqvFDRfrs+hesQdUE+fqNlkbY3Elid5mYKpoMN4OvDhBAFzDRjGC8EPz kwMdCld+B2/NDuH5cLOg45JgTbj4KJ8gUp0KQ35bkvUy5oRka3geJgerhH8r1Rfne96l WQrqpYghqi77A/7YsZl19YTmUPLEWtDa50keCduPdlPa5NKnCvfibKtW6cj8aA4RnRve 0DBd7bLnZbz0yQ3WatsRfr3QBesOovuSiY3Ysw4sVig8x6ub/ZcL+er4e41PC2Vs1RVn IvZA== X-Received: by 10.50.79.197 with SMTP id l5mr12584566igx.93.1445115865567; Sat, 17 Oct 2015 14:04:25 -0700 (PDT) Received: from WorkBox.Home.gmail.com (63-231-132-20.mpls.qwest.net. [63.231.132.20]) by smtp.gmail.com with ESMTPSA id q32sm3313848ioi.24.2015.10.17.14.04.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Oct 2015 14:04:24 -0700 (PDT) References: <20151016064251.GA1975@c720-r276659> <86mvvjymhd.fsf@WorkBox.Home> <20151016183244.GA21879@c720-r276659> <20151017012617.3bc51864.freebsd@edvax.de> <20151017103510.GB2597@c720-r276659> From: Brandon J. Wandersee To: Matthias Apitz Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: GitBook on FreeBSD? In-reply-to: <20151017103510.GB2597@c720-r276659> Date: Sat, 17 Oct 2015 16:04:23 -0500 Message-ID: <867fmlnr54.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Oct 2015 21:04:31 -0000 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 ==================================================================