From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cD92B3uC3GEVBQEAgWs5BA (envelope-from ) for ; Mon, 10 Jan 2022 20:01:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SGG7BHuC3GGLDgAA9RJhRA (envelope-from ) for ; Mon, 10 Jan 2022 20:01:15 +0100 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 BB2373AB46 for ; Mon, 10 Jan 2022 20:01:14 +0100 (CET) Received: from localhost ([::1]:40488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6zDd-0008Rh-2T for larch@yhetil.org; Mon, 10 Jan 2022 13:16:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6zCm-0008Ly-GL for help-guix@gnu.org; Mon, 10 Jan 2022 13:15:44 -0500 Received: from [2607:f8b0:4864:20::62e] (port=34411 helo=mail-pl1-x62e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n6zCk-0002Sv-6c for help-guix@gnu.org; Mon, 10 Jan 2022 13:15:39 -0500 Received: by mail-pl1-x62e.google.com with SMTP id x15so13166189plg.1 for ; Mon, 10 Jan 2022 10:15:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=WIgLETiDfd3SFsIwEOSRCek4Q4bkutAc1oRoixG83yY=; b=W4J9zBmgauwYz7WoIfhV/NLC0rYf9cpuXT7Xin+T6NcXW+lDVt6U/xl4P/Nnm7Jqig twz0pyrWbe+u/2iCeKqXPRAo9Wn1ejfxcmIYD5GEW+BOcBjXNpddpjqbjWhzYQl6lSkA 7ODdDo3UCyUqcv4beGrnOIHM2zZ0LT8rMXx4EfFv9lZ5wJSO3mZY7Q6vBiMQ7L0orFBW I1EWRsqKPFN1fox6vMfxPyzi5tf1TmkJ1Plzi9TUhZ1yyPIyyiye51qzC3ElV0+paL1u duCs7ubkN32gxiXcM7u/KRpeOY9XbiEiDcADnIot1RxtqIp0qHn/0sGUrvcX8ibhNYmO 9pVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=WIgLETiDfd3SFsIwEOSRCek4Q4bkutAc1oRoixG83yY=; b=8Q6aLoK2byibQ+BfPjkOmI651s5ZkCEhhuzhFK3O6UiKyLGQ8OzJUSXyTk1lCPQ+gd 0Pyc/OGg6gPVLTynyOqkGdFf8udYF/I5Il+hhCL/zoL9+9zlafnwvdD0hITpIc+1IpCp B5E+rN9/ypn086AdIjkOnw3nXCwSLKB+SGocuWzZOSToDKAb0SSxtLrsqurO5H9pyoDM tsILxKhyi5sRCtZgb0GNDO6aJrql0l6cGedN3kVcdwSWn4F0pGvlbpqhpUTi9nCNemSt U8PcYqmxkfnMrHqv7RyP7vf2BRh796geAiJ42Bz4XDtvc0aM0A9/BG/n9dsfugBkoMGC 1wcg== X-Gm-Message-State: AOAM530se2GSl06QLfYnH2F2xzTPboxd9LKHoQjvPFnXiosNtPxpY7tF 2wF0cY9zgAhPVOoR2l1FrqfjLJDTtYQ= X-Google-Smtp-Source: ABdhPJzpVuIZqnR2P1SBxHfj6ayhal4kGJM1u51v/ahpiRNg6OHl67vANpTkpohCdh/Ip03ouXPDlA== X-Received: by 2002:a05:6a00:810:b0:4bb:bdf9:cab9 with SMTP id m16-20020a056a00081000b004bbbdf9cab9mr761210pfk.35.1641838535368; Mon, 10 Jan 2022 10:15:35 -0800 (PST) Received: from garuda-lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id v12sm2227859pgl.90.2022.01.10.10.15.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jan 2022 10:15:33 -0800 (PST) From: Chris Marusich To: "Dr. Arne Babenhauserheide" Subject: Re: Web development on Guix: nodejs, npm and all that References: <87y23niukg.fsf@fastmail.com> <87h7abpqkn.fsf@web.de> Date: Mon, 10 Jan 2022 10:15:29 -0800 In-Reply-To: <87h7abpqkn.fsf@web.de> (Arne Babenhauserheide's message of "Mon, 10 Jan 2022 15:54:28 +0100") Message-ID: <87k0f74fum.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62e (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=cmmarusich@gmail.com; helo=mail-pl1-x62e.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641841274; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WIgLETiDfd3SFsIwEOSRCek4Q4bkutAc1oRoixG83yY=; b=MxbNLvCci1P47RpwCjJ17b5pSI0w0JDss05iGBbHS/7Z33rJ95nE9UgV7pBzmmaRojwKmd HqpQJdwudKD5CKRVkRkK3hlbaclUfSmfyPImPyGRWmpB3Tmadplx8OPMSxwmY1u0Wx6J0m k5oceOU0U9u94S12HyR0gM5eA049452PJoeHB69IC87tRm4PEObRZ24I3Tl7O/dgvmEBFg cl/t4rFOVelmlgLR/NBFkz7aNZiyuXknzFGnc0g5nGHowAp1I5yIAOIi5Fhcunma1sRot9 GtL6ZZ1LotfDnL7cl783E8zLDvNxNPW60yr2pSst5NkJeqSwPrdxZ8npHc2TBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641841274; a=rsa-sha256; cv=none; b=b5QbpyV2kabNvZjT6eE/nf2bK77VZv4q3NDOfEnXL88KdStHpzzOBtZ09AIZZ91rrkZTLz zJhjkl+YMrBSHwPmcoSty3bCMInR+SfcdPq/ognuG60txrwWjmdmnPALE4FnEKoNEvNp7S MHQXAxjUC9i0899Ee/sffqn5M6C6PnwDaIoHlgplsu8WmppUaUye2zmNL5xau3Awklt/dE GCPoztFGjnD887s6gyLLEvhtPYECqNG7ZAgMBrWtoa5S8OM16sn9i4QTWBCHsvTYcHp4c+ dtEZ7MEL4K7IkC9TjhVAolfe2aI2uRf1kO2T6Cw2Cgh4cb5z0ELeGHw/AGFVXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=W4J9zBmg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=W4J9zBmg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BB2373AB46 X-Spam-Score: -4.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0IoZG2C84kwM --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, "Dr. Arne Babenhauserheide" writes: > Hi t, > > t@fullmeta.me writes: >> Do people do web-dev on Guix System? I need to dive back into the >> whole Node.js NPM ecosystem - something I've not touched for some=20 >> years and I'm wondering how people go about e.g. installing NPM >> packages on Guix. > >> So, how do people program for the Web, Node on Guix. Does =3Dnpm >> install=3D which defaults to local installation work well enough for=20 >> most packages? An outline of what to expect and known problems and >> workarounds would be very useful. > > I do webdev on Guix, but I work in a team where I=E2=80=99m currently the= only > Guix user, so my usage must work with changes we do. > > I used to have a setup that used the local guix-installed npm ( > https://www.draketo.de/software/guix-work#npm ), but that often broke, > so I switched to copying the > > node_modules/npm/bin/npm-cli.js > > script from our build environment to > > ~/.local/bin/npm > > (which I have on my path) > with #!/usr/bin/env node as hashbang. > > That now actually works pretty well, and it uses the node from Guix. > > Best wishes, > Arne Just to be clear: that means you're using node to manage all the dependencies, not Guix, right? Not that there's anything wrong with that. I'm just curious, since watching on the sidelines, I've often heard that NPM is difficult to package in Guix. =2D-=20 Chris PGP: https://savannah.gnu.org/people/viewgpg.php?user_id=3D106836 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmHcd8EVHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkad9/oQAK5Rk245pNLF6zQpkcJwAKK/YosZ Hdv+dKHqq82LG1CZIqkPb8fCRrw7SPwtxkry7LWZJKaqSJqEV70N4LOZAhvZTAF1 P6vRlO+l1NSWKjnPsJGr/QIVdTje2Y+Pd0vxBtiAK0WxPzavDsQZZJthgZHgjmIN FkBeegIkXPjcscGtRMeLTIHoqUXf0wEqzn+9GpvXEcLhK3m4vIFiSPHlB7jouTtQ 0FRRFRiTQmoSVrS1n7YVRZjdaVdovbS+b2+W/AbAIBVoVM5Bnck9v/j4VGO/7E25 qCNCWw2hQzIjJQBK91/QSeEpOsKlNpPWmr88KKtMRxLX24PpguvDee51FaOnPk91 gEjWAWGb4CxN1u++LGWET9gjiMm//Y7b9AoEQVzTMevuuyOP9cWZf477VpFWEoNo X0crUPW1JvR8TFBJVvDbTSHyfom7+Pez6hL16Dh3zTxb3M7Z9zZETewNDIkD56oj 0Og1EM/lqnvHsd61srf5vuUEy2tEKuJ078lB27fm8KydnmSnyQm3qGoD8681Klsh AIyKeyr5IrOKdf1n0/Y1gaH70EnGPZmfopMrIRg2ZUUI0V74WqUWAiYHvB9suN3D oHkW2HWR2GbpJrSCe3/e2k9BEwD5uy7U/VWutL6qL71h0/9Tg3CRLafMco9PtAtW X8AcVCvEAHHSfO2a =8Ocn -----END PGP SIGNATURE----- --=-=-=--