From unknown Sat Sep 13 13:16:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#23744 <23744@debbugs.gnu.org> To: bug#23744 <23744@debbugs.gnu.org> Subject: Status: guix: npm don't run Reply-To: bug#23744 <23744@debbugs.gnu.org> Date: Sat, 13 Sep 2025 20:16:25 +0000 retitle 23744 guix: npm don't run reassign 23744 guix submitter 23744 "Jovany Leandro G.C" severity 23744 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 10 14:41:56 2016 Received: (at submit) by debbugs.gnu.org; 10 Jun 2016 18:41:56 +0000 Received: from localhost ([127.0.0.1]:36244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBRNQ-0008Ca-UP for submit@debbugs.gnu.org; Fri, 10 Jun 2016 14:41:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bBRDR-0007wO-BV for submit@debbugs.gnu.org; Fri, 10 Jun 2016 14:31:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBRDL-0003BQ-EX for submit@debbugs.gnu.org; Fri, 10 Jun 2016 14:31:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, DATE_IN_PAST_03_06, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBRDL-0003BD-BM for submit@debbugs.gnu.org; Fri, 10 Jun 2016 14:31:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBRDJ-0001xv-6r for bug-guix@gnu.org; Fri, 10 Jun 2016 14:31:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBRDF-0003An-0G for bug-guix@gnu.org; Fri, 10 Jun 2016 14:31:24 -0400 Received: from mx1.riseup.net ([198.252.153.129]:57729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBRDE-0003Ag-PH for bug-guix@gnu.org; Fri, 10 Jun 2016 14:31:20 -0400 Received: from cotinga.riseup.net (unknown [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 8EA931A2AA0 for ; Fri, 10 Jun 2016 18:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1465583479; bh=SxC12kWYPu5ALwsaj3ksR4ExIlHzSvUsiMQOIwRefv8=; h=Date:From:To:Subject:From; b=Jq/LNLqNNU9h+qRtPsQNPJXcXgUHRo+PFzR0IiJ9mi4phHrARPu5+FTLadPD21A+U c+Bhqk2OddwHodzt3SqfyVuGidCIxfgzeJgVAI/oEG/+kMiVI2jr+ki/sTVDpOAsNB qJv54zySlNkO7iId8NmRCUeIonU2su8Vb33y60XI= Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: bit4bit) with ESMTPSA id 4B1E940146 Date: Fri, 10 Jun 2016 08:31:07 -0500 From: "Jovany Leandro G.C" To: bug-guix@gnu.org Subject: guix: npm don't run Message-ID: <20160610083107.6ce9daa9@riseup.net> Organization: Bit4bit MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 10 Jun 2016 14:41:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.9 (---) HI, this distro it's amazing i very happy using it. i install **guix package -i npm** version *6.0.0* node and when try **npm** this throws: ~~~ Error: Cannot find module '../lib/npm.js' at Function.Module._resolveFilename (module.js:438:15) at Function.Module._load (module.js:386:25) at Module.require (module.js:466:17) at require (internal/module.js:20:19) at /gnu/store/y98akn298a47sn3f7c19pzw98jw9a14b-node-6.0.0/bin/npm:26:13 at Object. (/gnu/store/y98akn298a47sn3f7c19pzw98jw9a14b-node-6.0.0/bin/npm:76:3) at Module._compile (module.js:541:32) at Object.Module._extensions..js (module.js:550:10) at Module.load (module.js:456:32) at tryModuleLoad (module.js:415:12) ~~~ i fix for working: create a file $HOME/bin/npm ~~~ #!/bin/sh node $HOME/.guix-profile/lib/node_modules/npm/bin/npm-cli.js $@ ~~~ append to $HOME/.bashrc ~~~ export PATH=$HOME/bin:$PATH ~~~ and that's it, now npm works only for local install for my case i run **npm install ionic@beta** and run **node ~/node_modules/ionic/bin/ionic** and works :) I hope to be helpful thanks, From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 16:30:34 2016 Received: (at 23744) by debbugs.gnu.org; 12 Jun 2016 20:30:34 +0000 Received: from localhost ([127.0.0.1]:38338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCC1i-0008Ch-2i for submit@debbugs.gnu.org; Sun, 12 Jun 2016 16:30:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCC1g-0008CV-JM for 23744@debbugs.gnu.org; Sun, 12 Jun 2016 16:30:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCC1a-00081s-Hz for 23744@debbugs.gnu.org; Sun, 12 Jun 2016 16:30:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCC1V-00081b-Qq; Sun, 12 Jun 2016 16:30:21 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:54714 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bCC1U-0001ji-Vz; Sun, 12 Jun 2016 16:30:21 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: "Jovany Leandro G.C" Subject: Re: bug#23744: guix: npm don't run References: <20160610083107.6ce9daa9@riseup.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Prairial an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sun, 12 Jun 2016 22:30:18 +0200 In-Reply-To: <20160610083107.6ce9daa9@riseup.net> (Jovany Leandro G. C.'s message of "Fri, 10 Jun 2016 08:31:07 -0500") Message-ID: <87d1nmjgkl.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23744 Cc: Jelle Licht , 23744@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) Hello! "Jovany Leandro G.C" skribis: > this distro it's amazing i very happy using it. Thanks for your kind words. :-) > i install **guix package -i npm** version *6.0.0* node=20 > and when try **npm** this throws: > > ~~~ > Error: Cannot find module '../lib/npm.js' > at Function.Module._resolveFilename (module.js:438:15) > at Function.Module._load (module.js:386:25) > at Module.require (module.js:466:17) > at require (internal/module.js:20:19) > at /gnu/store/y98akn298a47sn3f7c19pzw98jw9a14b-node-6.0.0/bin/npm:26:= 13 > at Object. > (/gnu/store/y98akn298a47sn3f7c19pzw98jw9a14b-node-6.0.0/bin/npm:76:3) > at Module._compile (module.js:541:32) at Object.Module._extensions..js > (module.js:550:10) at Module.load (module.js:456:32) > at tryModuleLoad (module.js:415:12) > ~~~ > > i fix for working: > > create a file $HOME/bin/npm > ~~~ > #!/bin/sh > node $HOME/.guix-profile/lib/node_modules/npm/bin/npm-cli.js $@ > ~~~ This seems to be related to: http://bugs.gnu.org/23723 Jelle: I gather you have a patch around that changes or removes the =E2=80=98patch-shebangs=E2=80=99 phase for npm? Could you submit it on gui= x-devel? TIA. :-) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 29 04:08:42 2016 Received: (at 23744-done) by debbugs.gnu.org; 29 Jun 2016 08:08:42 +0000 Received: from localhost ([127.0.0.1]:59617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIAY6-00023Y-2T for submit@debbugs.gnu.org; Wed, 29 Jun 2016 04:08:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIAY4-00023I-7h for 23744-done@debbugs.gnu.org; Wed, 29 Jun 2016 04:08:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIAXx-0007jM-Qi for 23744-done@debbugs.gnu.org; Wed, 29 Jun 2016 04:08:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIAXs-0007eh-9l; Wed, 29 Jun 2016 04:08:28 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:60252 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bIAXp-0004oh-QJ; Wed, 29 Jun 2016 04:08:26 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: "Jovany Leandro G.C" Subject: Re: bug#23744: guix: npm don't run References: <20160610083107.6ce9daa9@riseup.net> <87d1nmjgkl.fsf@gnu.org> Date: Wed, 29 Jun 2016 10:08:22 +0200 In-Reply-To: <87d1nmjgkl.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 12 Jun 2016 22:30:18 +0200") Message-ID: <8737nwa03t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23744-done Cc: 23744-done@debbugs.gnu.org, Jelle Licht X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > "Jovany Leandro G.C" skribis: > >> this distro it's amazing i very happy using it. > > Thanks for your kind words. :-) > >> i install **guix package -i npm** version *6.0.0* node=20 >> and when try **npm** this throws: >> >> ~~~ >> Error: Cannot find module '../lib/npm.js' >> at Function.Module._resolveFilename (module.js:438:15) >> at Function.Module._load (module.js:386:25) >> at Module.require (module.js:466:17) >> at require (internal/module.js:20:19) >> at /gnu/store/y98akn298a47sn3f7c19pzw98jw9a14b-node-6.0.0/bin/npm:26= :13 >> at Object. >> (/gnu/store/y98akn298a47sn3f7c19pzw98jw9a14b-node-6.0.0/bin/npm:76:3) >> at Module._compile (module.js:541:32) at Object.Module._extensions..js >> (module.js:550:10) at Module.load (module.js:456:32) >> at tryModuleLoad (module.js:415:12) >> ~~~ >> >> i fix for working: >> >> create a file $HOME/bin/npm >> ~~~ >> #!/bin/sh >> node $HOME/.guix-profile/lib/node_modules/npm/bin/npm-cli.js $@ >> ~~~ > > This seems to be related to: > > http://bugs.gnu.org/23723 > > Jelle: I gather you have a patch around that changes or removes the > =E2=80=98patch-shebangs=E2=80=99 phase for npm? Could you submit it on g= uix-devel? I pushed a workaround in Node itself as commit 2de091f0c8ee143b1dd07483b3b86a31870342c0. Eventually we=E2=80=99ll push Jelle=E2=80=99s fix for #23723, but since tha= t=E2=80=99s a rebuild-the-world change, it=E2=80=99ll be some time before it=E2=80=99s av= ailable, so this workaround is our best bet for now. Thanks! Ludo=E2=80=99. From unknown Sat Sep 13 13:16:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 27 Jul 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator