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 2ILQM5Htql5jFAAA0tVLHw (envelope-from ) for ; Thu, 30 Apr 2020 15:24:01 +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 gGG0I5rtql6vQQAA1q6Kng (envelope-from ) for ; Thu, 30 Apr 2020 15:24:10 +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 A190494187A for ; Thu, 30 Apr 2020 15:24:09 +0000 (UTC) Received: from localhost ([::1]:50012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUB2n-00068d-H0 for larch@yhetil.org; Thu, 30 Apr 2020 11:24:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40138) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUAz8-0005ON-OG for help-guix@gnu.org; Thu, 30 Apr 2020 11:23:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUAxc-0005Xw-LZ for help-guix@gnu.org; Thu, 30 Apr 2020 11:20:22 -0400 Received: from mail1.fsfe.org ([217.69.89.151]:34526) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUAxc-0005XU-5j for help-guix@gnu.org; Thu, 30 Apr 2020 11:18:48 -0400 From: Jelle Licht To: Josh Marshall , help-guix Subject: Re: How should I be running `npm install =?utf-8?Q?=E2=80=A6`=3F?= In-Reply-To: References: Date: Thu, 30 Apr 2020 17:18:42 +0200 Message-ID: <87zhatypbh.fsf@jlicht.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.69.89.151; envelope-from=jlicht@fsfe.org; helo=mail1.fsfe.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/30 11:18:44 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.69.89.151 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 X-Spam-Score: 1.59 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=fsfe.org (policy=none); 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.59 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49414167647951]; MX_INVALID(1.00)[cached]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.17), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; MIME_TRACE(0.00)[0:+]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; URIBL_BLOCKED(0.00)[medium.com:url,jax.org:email]; FROM_HAS_DN(0.00)[]; FROM_NEQ_ENVFROM(0.00)[jlicht@fsfe.org,help-guix-bounces@gnu.org]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[fsfe.org : SPF not aligned (relaxed), No valid DKIM,none] X-TUID: YPoWr9y6hmKl Hey Josh, Josh Marshall writes: > Hello all, > > The is my work email, I=E2=80=99m usually on IRC as =E2=80=9Canadon=E2=80= =9D. My laptop broke, so please humor the account change. > > Following the guide at https://medium.com/jeremy-keeshin/hello-world-for-= javascript-with-npm-modules-in-the-browser-6020f82d1072 , I=E2=80=99m tryin= g to run `npm install -g browserify` with the output below. This is someth= ing others have certainly run into, but a quick google search does not turn= up any useful results. How should I be doing this? By default, guix' npm wants to install to some location in the store, which is mounted read-only. If you want to use npm to manage package installations on guix, one workaround is to add something like the following to your `$HOME/.npmrc': --8<---------------cut here---------------start------------->8--- prefix=3D/home/anadon/opt --8<---------------cut here---------------end--------------->8--- You also need to make sure that `$HOME/opt/bin' is in your path afterwards. HTH, - Jelle