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 WITROBpUrV6veAAA0tVLHw (envelope-from ) for ; Sat, 02 May 2020 11:06:02 +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 4ITBFSRUrV6QWQAA1q6Kng (envelope-from ) for ; Sat, 02 May 2020 11:06:12 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 429D2944232 for ; Sat, 2 May 2020 11:06:11 +0000 (UTC) Received: from localhost ([::1]:52266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUpyF-0006d8-6v for larch@yhetil.org; Sat, 02 May 2020 07:06:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <321942@gmail.com>) id 1jUmlE-0007j4-OR for help-guix@gnu.org; Sat, 02 May 2020 03:40:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from <321942@gmail.com>) id 1jUmlD-0004oK-Kj for help-guix@gnu.org; Sat, 02 May 2020 03:40:32 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:36585) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <321942@gmail.com>) id 1jUmlD-0004oD-4V for help-guix@gnu.org; Sat, 02 May 2020 03:40:31 -0400 Received: by mail-wr1-x42f.google.com with SMTP id d15so14501832wrx.3 for ; Sat, 02 May 2020 00:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=KtronP8EVcwOX2xF7ot9TKorAFS9rurMNcJXQjUzwy8=; b=CmK4y7TziAVpX9nTulZyMDxZLCponadZtNhRkPd/dVW4CeI9hNcLkT8JY64z4JlxAu 6Wm/rGQ/HAy2SFvIMt3IvecdoTRV0TtwLe75q4bJECW6KJtAof6mGQreK8vjNpDI3HPJ 4vOxHU+hmQqWR7t+EiV4r/uDDj27bDcLoVdV7zi6L85kdyiix4Em4QsamhBkt9v+XGlg 8LVCK4sI7zDw0yZciuzRLg5uCJJoCjxOX/fXvmjdgypXICGk/0nsMVBnLUPfq6ALnPTX RPUYffg3Qn92H0BpVi/WRxX34qeQKrzoew8bxPs5A5sFkpQM4aAv2oLLiUAhRhXBA8b4 NKLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=KtronP8EVcwOX2xF7ot9TKorAFS9rurMNcJXQjUzwy8=; b=PLM2AyjT8PBOi6IAgxb2PCXvjoqnU98lVDy/eYFFRzipdef6sK7qGPQa1I3uVEubc+ ca11Ztqls41f/FM6rbqcOnJcTXz+lzMFca2ajJT/zoib7llqhvGnzy+E8hG+xjr5aYaW kx2Orz+PIBxqLMhIQuOg6PRZ+Kaho2fxU2OnvSBPvMd+SOnl4fT8lbJG84xRr2swS5+B Lj4qE4Eltslhw27CBFQNvIMDlrXmHks3zK83gNIYlrAbQHL21XcdzcLW3Bngx6CBTiGe blvIIshp5zjkBqyMCbbPdXXXJRGRh9iE0kgFswQNPHf96xa9q9BzyEbV905N36hJc4IE LPVw== X-Gm-Message-State: AGi0PuaSfcJxe7ZNcFA8oY2YQYZgeBHbT2kMBwYHLiItfUYT2TjGlvLt mOzebA1O8Ufun0UAvrTZ5k6B8UqI X-Google-Smtp-Source: APiQypLhSUW2b+4zewcl6iHl+de7JTAMm9AwtJfR46m955a4byI+MQcSKeyVTzE7OoN9hVP3Ka5+AQ== X-Received: by 2002:adf:bb4e:: with SMTP id x14mr7925332wrg.63.1588405229377; Sat, 02 May 2020 00:40:29 -0700 (PDT) Received: from localhost ([89.39.107.197]) by smtp.gmail.com with ESMTPSA id h188sm3318602wme.8.2020.05.02.00.40.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 May 2020 00:40:28 -0700 (PDT) From: Dmitry Alexandrov <321942@gmail.com> To: Vivien Kraus Subject: Re: How should I be running `npm install =?utf-8?Q?=E2=80=A6`=3F?= In-Reply-To: <74bba214839f2e4eeae00c641549e00f3d7b40e8.camel@planete-kraus.eu> (Vivien Kraus's message of "Thu, 30 Apr 2020 17:06:15 +0200") References: <74bba214839f2e4eeae00c641549e00f3d7b40e8.camel@planete-kraus.eu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Date: Sat, 02 May 2020 10:40:08 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=321942@gmail.com; helo=mail-wr1-x42f.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::42f X-Mailman-Approved-At: Sat, 02 May 2020 07:06:02 -0400 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 Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 X-Spam-Score: -1.81 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=CmK4y7Tz; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Scan-Result: default: False [-1.81 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.4949059257499]; DWL_DNSWL_FAIL(0.00)[gmail.com:server fail,2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.15), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_NEQ_ENVFROM(0.00)[321942@gmail.com,help-guix-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; URIBL_BLOCKED(0.00)[planete-kraus.eu:email]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[help-guix@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_SEVEN(0.00)[7]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: 8IoqIldDJiiP --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 be= low. >> npm ERR! path /gnu/store/39zkw3a8lxkxs7rmx4238959zc368075-node-10.19.0/l= ib/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 inst= alled in a read-only location (/gnu/store/) So? /usr/ in traditional GNU distributions might be read-only as well, but= it does not impede npm(1) or pip(1) or whatever install things system-wide= (given that operator utilize his superuser powers, of course), as there ar= e plenty other hierarchies available. Why is npm in Guix built with default =E2=80=98prefix=E2=80=99=C2=B9 (means= , for --global actions) set to package directory under /gnu/store/ instead = of, say, /usr/local? =2D-- =C2=B9 $ npm config get prefix --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFFBAEBCgAvFiEE1yoTx9fONarixgNIydoJ3hnBsjAFAl6tI9kRHDMyMTk0MkBn bWFpbC5jb20ACgkQydoJ3hnBsjD7LQgAmJKYNTu2qWmHMuLlbSSIoLf3vBGXLP/k BP0FrBLmpWEn48BJba8uOEM5rliThXDci/HxDJliXpJ0DFajJZc9reU8GSI68cHu e/R/NsCyYbj25AWxmm01XgrOcJvAtGFsZ4/C/nZTyt3cQMwZAvM1wdyxXChiErBE QqBd31vBG5V+NWSr5t8jx2952dV2dYFQupkRsNGf1GEXHRuX3HlYgRa4bfmkLnEx VDhQ1ZcjJqvDvimMGS3AMJYzPyceDj9d50Kgq/G8a41yPUUvzd1F+8T3tvRACYsX qDKxZeIrmzSVTZtP5+0yaUsT4jRZLxA9c9JdAe52bdPuq1l7Myqmtg== =sS17 -----END PGP SIGNATURE----- --=-=-=--