From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kBTxIzcz6l6kFQAA0tVLHw (envelope-from ) for ; Wed, 17 Jun 2020 15:13:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KLK6Hzcz6l5JPQAAbx9fmQ (envelope-from ) for ; Wed, 17 Jun 2020 15:13:59 +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 0A8FC94053D for ; Wed, 17 Jun 2020 15:13:58 +0000 (UTC) Received: from localhost ([::1]:52540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlZlE-0004LD-AU for larch@yhetil.org; Wed, 17 Jun 2020 11:13:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlZWt-0007Iy-Ke for help-guix@gnu.org; Wed, 17 Jun 2020 10:59:07 -0400 Received: from esa3.hc3102-66.iphmx.com ([139.138.33.118]:10350) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlZWq-0003rG-SS for help-guix@gnu.org; Wed, 17 Jun 2020 10:59:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jax.org; i=@jax.org; q=dns/txt; s=selector1; t=1592405944; x=1623941944; h=arc-seal:arc-message-signature: arc-authentication-results:from:to:cc:subject: thread-topic:thread-index:date:message-id:references: in-reply-to:accept-language:content-language: x-ms-has-attach:x-ms-tnef-correlator: authentication-results:x-originating-ip: x-ms-publictraffictype: x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-forefront-prvs: x-ms-exchange-senderadcheck:x-microsoft-antispam: x-microsoft-antispam-message-info: x-forefront-antispam-report: x-ms-exchange-antispam-messagedata: x-ms-exchange-transport-forked:content-type:mime-version: x-originatororg: x-ms-exchange-crosstenant-network-message-id: x-ms-exchange-crosstenant-originalarrivaltime: x-ms-exchange-crosstenant-fromentityheader: x-ms-exchange-crosstenant-id: x-ms-exchange-crosstenant-mailboxtype: x-ms-exchange-crosstenant-userprincipalname: x-ms-exchange-transport-crosstenantheadersstamped: ironport-sdr; bh=L/V7/ogLLnjyhQ8jg4TS6Aq46fwqxC0zN7Th/yQKuSc=; b=m9YmsT02c/YtZzjnMCsdVAtzXi4v+L9eTa17KUvKl2vjZHAuHhkss3px L49kXPV5niYu5ElqshxW/pTBq6KNC9Q5/ISJHkNoBqj/4K/GhNxWhmugp UB4ic0OGKP5/ch+CGxSYhnXKCvOjlt8PKiMqAAEPM0bYRGZN0U+au4bRW g=; IronPort-SDR: 1Gro2KkFJjkpiKbDuES9wdYGZxoMALuJtugAfVpfOe8kP9ohdMmp4y6M08mNpsWAs5Q4bgl+VB 3tv1YTgcY0aphnzLmo3cda3vN+nreHFz5aegnubXnRNe5JiehEZjAMdZDKmKhfcawsX3/NaPsX uqIvPdUMWNwekRJZX70doiB0PpnoAbmfZlsZqxHWByK7Q/h+nUnQlhmMzciX4pag2HsoA0Mys0 3IBi/ZOShKPt524mgK+FLXf6asAziZPkMEDRIph9h0uhQnRkrPkl+38Ret3D/IMNgVog2sZhJf Vw0= Received: from mail-dm6nam12lp2170.outbound.protection.outlook.com (HELO NAM12-DM6-obe.outbound.protection.outlook.com) ([104.47.59.170]) by ob1.hc3102-66.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 17 Jun 2020 19:58:59 +0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oZh7W0Eivez081OCYsQDFPYhpZZ7j2bsOyFgzTjyhGeQU3djIAPs5ZtWO7mIYNMdA+t9Ao8PC4VVvNcDvze50yNAKR/lG59A4Bc3yGWNRXLqdd/E885bMOouYO3Nh7skox8Q1O9UaKhtQhg2IEA3uNGIQUbxpydve29X8cdFh4YaDFmVhk31QGJ2c/MWGy0ZevO5oR8dUU3O2pc0cdQa0QTD1iiWATxG4jyLlHlmjHsnX3SWSLovnenHg9EcIMsMV3XS3f5120yGYMuPrkZlk5gdIe5hCgHoJn80iKfCRwmsErM8R/02KNyg8920GxqV1uK6YeVUHRj3HPscgVmsPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kUMqssODGL8qa2TqjAH7nPNqIiwpzTBBkYOPurmTjWM=; b=IMb9t77scYd6/tdc3BQ76rqyNkExHhph/SBP5MEjU/yois/BSyQNzQRuHdPHr6iLmBjas/o8wmXqB1YU48LedGCDHRdxAF7qjjQbq+vnOC66eg7FteoSSJL4afEzo6z6mHP7bHR+hY+KEKVg5b0bSktHfsn/EKw+TSvWqkXGQRgNkuUQ4x4aDTqwrApHZSqx1UN/OL7uOIMoM83F++MEBOcmCWMC0ew69TgTPOHlZa1hz6mok8TqCs5Uu6ZtAMJhYZTzuQmopZLmixaoumwcRG5Tg4a3eWGN11mwYzS5RMSoxiwncRmT/odWnP5Ooo7s1t56GYKnlVYTxNY/201H6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jax.org; dmarc=pass action=none header.from=jax.org; dkim=pass header.d=jax.org; arc=none Received: from BL0PR06MB4673.namprd06.prod.outlook.com (2603:10b6:208:57::20) by MN2PR06MB6592.namprd06.prod.outlook.com (2603:10b6:208:1f7::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Wed, 17 Jun 2020 14:58:58 +0000 Received: from BL0PR06MB4673.namprd06.prod.outlook.com ([fe80::710a:9db4:145e:8778]) by BL0PR06MB4673.namprd06.prod.outlook.com ([fe80::710a:9db4:145e:8778%7]) with mapi id 15.20.3088.028; Wed, 17 Jun 2020 14:58:58 +0000 From: Josh Marshall To: Dejan Ranisavljevic , Gary Johnson Subject: =?Windows-1252?Q?RE:_[EXTERNAL]Re:_How_should_I_be_running_`npm_install_?= =?Windows-1252?B?hWA/?= Thread-Topic: =?Windows-1252?Q?[EXTERNAL]Re:_How_should_I_be_running_`npm_install_=85`?= =?Windows-1252?Q?=3F?= Thread-Index: AQHWHv71n5T5wR4zL0ae9I5IZomVKKiRw8uAgAKoKC2ARzmEgIAA1t2AgAC1JuU= Date: Wed, 17 Jun 2020 14:58:58 +0000 Message-ID: References: <74bba214839f2e4eeae00c641549e00f3d7b40e8.camel@planete-kraus.eu> <87r1ufghpk.fsf@disroot.org>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [73.186.18.223] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 72fe6a71-808c-4dda-b091-08d812cef6ae x-ms-traffictypediagnostic: MN2PR06MB6592: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 04371797A5 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AMuYDLlFtQEEOm9Zla6Jh1TQeLjPR8T242pyYFGN+3AT0MRqYZcvo5GIn9T69VKNjR/vJVgN3dq2S9wM7BUR18b9UAe+cHOWWyyyAlq56VMoEZOr8L1wCjsN6r/AIcDXNkrhi6CHw0ZIXnHoJ6wZvAgiverJ1mOY/oNUkQqfiWDvmok8glb+4223/9WsnA2SBDTC6F670fEcNl9+pdmo4fMD+Dfip3AuclcYwRrRZAAlEw9h3tIfnFk71q6ebTYzTXqYyNCWbInH+7wkNzeCunByoO2VQBaU0oSw7MOHxXl5d0OQxwQV1SdFzyDYxRy4cnXdo5HdtuFjRVJAMOx5cE6h/QWjb9VS0XLq3ZH7IqRYkwy3PwvbK1TD68i2KSeo3Iv5l+FlTbWnaQrJzK2YjySuwcwr2s+G/2Q8Y9rlmYfe8akPp1K+6FNZYR7mvJz5Hh+rJUeyeHO6KWLXyQHVEA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR06MB4673.namprd06.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(346002)(39850400004)(136003)(366004)(376002)(786003)(5660300002)(53546011)(6506007)(316002)(52536014)(26005)(83380400001)(2906002)(86362001)(478600001)(8936002)(33656002)(66446008)(66946007)(7696005)(21615005)(166002)(66574015)(186003)(76116006)(110136005)(4326008)(66476007)(9686003)(966005)(71200400001)(54906003)(55016002)(64756008)(66556008)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 2fqrlLLFsoiy7YPsc5lETW5XTeAlDfeR4InbQ7wAfHmLNZ8+2ZdKvNKNt8coWGmLilUaH8SOTp4VUrBNcW3a1nxGge+d094J8ekPUwG/xgRtP2WSztjzN70AzmFAA+oc6pd7ylUulliw3Bue5yc7BxT2XxBWunX+D9hPNqcNWlump3i45d2pMeU5hnfzy4tBT3pElm/Vrh0m9gh+torr9lcumgWTKjCR2g3E/ne4sdJoYoQNKXm/EQnvKU54dBOm9n8EuPIDD6N45Kc4pbAYT9C6wIxyg8JHoRGk4xn7/VggOKvRmyY5DDSBTNCh7fBk7Qbu5LAMs6fE6SJHiV+RpuUuhEUaigVxQOAG7Cg9RZqaeYpwj2gUhKrRPzmlGIL8K1BON9QO5Hbr6Cbw5UNdfx6JViMZAqL6Bn2QZJLK/k1aPsaTIn3YFBP/Qxd57Dh25Gk/TetDFQwFGVViNRWeb8k5g/UEe578R5uWhXZUcyw= x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: jax.org X-MS-Exchange-CrossTenant-Network-Message-Id: 72fe6a71-808c-4dda-b091-08d812cef6ae X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2020 14:58:58.1973 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5d665caa-d62e-4678-9f5f-e707cf9ecbd1 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 5hxGByoANEkIBChWp8wxUUz6qkHO0RAwiFXlLBmVTxBjWuHIOtrxHAN+68XQJ3eyARN1WdXXWRL4SAuzzZqA1g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR06MB6592 Received-SPF: pass client-ip=139.138.33.118; envelope-from=Josh.Marshall@jax.org; helo=esa3.hc3102-66.iphmx.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/17 10:59:00 X-ACL-Warn: Detected OS = FreeBSD 9.x or newer [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Dmitry Alexandrov <321942@gmail.com>, Vivien Kraus , "help-guix@gnu.org" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=jax.org header.s=selector1 header.b=m9YmsT02; dmarc=fail reason="SPF not aligned (relaxed)" header.from=jax.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: 3.09 X-TUID: j0BTOofYyqJt That does help, but it ought to be the default in many ways. From: Dejan Ranisavljevic Sent: Wednesday, June 17, 2020 12:10 AM To: Gary Johnson Cc: Dmitry Alexandrov; Josh Marshall; help-guix@gnu.org; Vivien Kraus= Subject: [EXTERNAL]Re: How should I be running `npm install =85`? To use different directory for global packages, you have to create ~/.npmrc= dotfile with: prefix=3D~/.npm Once you have that you should be able to do npm i -g, and package would be = installed in ~/.npm Also don't forget to add ~/.npm/bin in your PATH: export PATH=3D"$HOME/.npm/bin:$PATH" Hope this helps. Best, Dejan On Tue, 16 Jun 2020 at 17:21, Gary Johnson > wrote: 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 > wr= ote: >> Le jeudi 30 avril 2020 =E0 14:59 +0000, Josh Marshall a =E9crit : >>> I=92m trying to run `npm install -g browserify` with the output below. > >>> 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 =91prefix=92=B9 (means, for --globa= l actions) set to package directory under /gnu/store/ instead of, say, /usr= /local? > > --- > =B9 > $ npm config get prefix -- 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 --- The information in this email, including attachments, may be confidential a= nd is intended solely for the addressee(s). If you believe you received thi= s email by mistake, please notify the sender by return email as soon as pos= sible.