From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6EAmM5Lj6F4jOAAA0tVLHw (envelope-from ) for ; Tue, 16 Jun 2020 15:21:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eLv8LpLj6F7SVgAA1q6Kng (envelope-from ) for ; Tue, 16 Jun 2020 15:21:54 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E4D5094051C for ; Tue, 16 Jun 2020 15:21:53 +0000 (UTC) Received: from localhost ([::1]:51022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlDPM-00081Z-S6 for larch@yhetil.org; Tue, 16 Jun 2020 11:21:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlDOt-0007xW-8v for help-guix@gnu.org; Tue, 16 Jun 2020 11:21:23 -0400 Received: from knopi.disroot.org ([178.21.23.139]:37594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlDOs-0003Ty-CX for help-guix@gnu.org; Tue, 16 Jun 2020 11:21:22 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 97E6940058; Tue, 16 Jun 2020 17:21:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 53yCw-Eek6gc; Tue, 16 Jun 2020 17:21:17 +0200 (CEST) References: <74bba214839f2e4eeae00c641549e00f3d7b40e8.camel@planete-kraus.eu> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1592320874; bh=tufGMBL1ktYXUudMtEZtFswdO7zw7fvats1F4eavPt8=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=QCYu5IlSvghzVb09DkuOf1wb4PXjlkeJLS2IknJUdKX//sYb8VH8heICxoxtDsGOs iWgTRa6bOAcJnRh22xkfS57O2546Y9QBtGrkcNhCMpiCHPgWoMQxJ7wis/yw9YLHR+ NOIR2DxyKrF0pzTepo2twssZK34MxGHvBkpDIgNFfrz7M2/ShAG15pArBOWN2Swzj5 z9PrwyZFaCmdKkfm9h8L8lzHKEguUQXnWGuW9FvawhcF1iGvIN79zQBReL4kIVG9Kh 1HiVeG37t7P4mYkoEwy/6jLps0HbTutSh5XGKBmnGQpqJx+q2Pc37BVo/sVH2PtRA5 B9Mu1X2JitXqw== From: Gary Johnson To: Dmitry Alexandrov <321942@gmail.com> Subject: Re: How should I be running `npm install =?utf-8?Q?=E2=80=A6`=3F?= In-reply-to: Date: Tue, 16 Jun 2020 11:20:55 -0400 Message-ID: <87r1ufghpk.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=lambdatronic@disroot.org; helo=knopi.disroot.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/16 11:21:18 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Josh Marshall , help-guix@gnu.org, Vivien Kraus Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=disroot.org header.s=mail header.b=QCYu5IlS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=disroot.org (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 1.59 X-TUID: hh8G4Gxe+3w8 In Guix, all system-level packages and configuration files are created by the package manager under /gnu/store. The /usr directory is empty on a Guix system. ~Gary Dmitry Alexandrov <321942@gmail.com> writes: > Vivien Kraus wrote: >> Le jeudi 30 avril 2020 =C3=A0 14:59 +0000, Josh Marshall a =C3=A9crit : >>> I=E2=80=99m trying to run `npm install -g browserify` with the output b= elow. > >>> npm ERR! path /gnu/store/39zkw3a8lxkxs7rmx4238959zc368075-node-10.19.0/= lib/node_modules >> >> I am a mere guix user, so you may want to have another answer. > > I am not even a Guix (the SD) user, but this made me curious. > >> You cannot install anything globally with NPM in guix because NPM is ins= talled in a read-only location (/gnu/store/) > > So? /usr/ in traditional GNU distributions might be read-only as well, b= ut it does not impede npm(1) or pip(1) or whatever install things system-wi= de (given that operator utilize his superuser powers, of course), as there = are plenty other hierarchies available. > > Why is npm in Guix built with default =E2=80=98prefix=E2=80=99=C2=B9 (mea= ns, for --global actions) set to package directory under /gnu/store/ instea= d of, say, /usr/local? > > --- > =C2=B9 > $ npm config get prefix --=20 GPG Key ID: 7BC158ED Use `gpg --search-keys lambdatronic' to find me Protect yourself from surveillance: https://emailselfdefense.fsf.org =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments Please avoid sending me MS-Office attachments. See http://www.gnu.org/philosophy/no-word-attachments.html