From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SKP2Ivnrql42eQAA0tVLHw (envelope-from ) for ; Thu, 30 Apr 2020 15:17:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YFY8CALsql7MOwAAB5/wlQ (envelope-from ) for ; Thu, 30 Apr 2020 15:17:22 +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 55951943361 for ; Thu, 30 Apr 2020 15:11:39 +0000 (UTC) Received: from localhost ([::1]:41504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUAqg-00081U-CB for larch@yhetil.org; Thu, 30 Apr 2020 11:11:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38634) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUAoO-0007IB-Kh for help-guix@gnu.org; Thu, 30 Apr 2020 11:11:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUAll-0005cX-8K for help-guix@gnu.org; Thu, 30 Apr 2020 11:09:15 -0400 Received: from planete-kraus.eu ([89.234.140.182]:51408) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUAlk-0005ai-Rc for help-guix@gnu.org; Thu, 30 Apr 2020 11:06:32 -0400 Received: from gnou.home ([2a01:cb14:18a:700:9193:2627:4db0:7fb3]) by planete-kraus.eu with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUAlW-0007Se-A6; Thu, 30 Apr 2020 16:06:18 +0100 Message-ID: <74bba214839f2e4eeae00c641549e00f3d7b40e8.camel@planete-kraus.eu> Subject: Re: How should I be running `npm install =?UTF-8?Q?=E2=80=A6`=3F?= From: Vivien Kraus To: Josh Marshall , help-guix Date: Thu, 30 Apr 2020 17:06:15 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=89.234.140.182; envelope-from=vivien@planete-kraus.eu; helo=planete-kraus.eu X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/30 11:06:23 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 89.234.140.182 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.49 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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.49 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49416380974334]; 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)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; FROM_NEQ_ENVFROM(0.00)[vivien@planete-kraus.eu,help-guix-bounces@gnu.org]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; TAGGED_FROM(0.00)[larch=yhetil.org]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[medium.com:url]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[planete-kraus.eu]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: KlJ11OpI5fMb Hello! Le jeudi 30 avril 2020 à 14:59 +0000, Josh Marshall a écrit : > Hello all, > > The is my work email, I’m usually on IRC as “anadon”. 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’m trying to run `npm install -g browserify` with the output > below. This is something others have certainly run into, but a quick > google search does not turn up any useful results. How should I be > doing this? I am a mere guix user, so you may want to have another answer. You cannot install anything globally with NPM in guix, because NPM is installed in a read-only location (/gnu/store/). This is required for guix to work correctly. You can use this trick: https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md Basically, it tells NPM to install to your home directory. So that it is still installed in a central location, but this location is read- write. Vivien