From unknown Sat Sep 13 13:16:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23744: guix: npm don't run Resent-From: "Jovany Leandro G.C" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 10 Jun 2016 18:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23744 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 23744@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146558411631543 (code B ref -1); Fri, 10 Jun 2016 18:42:01 +0000 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" 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-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 unknown Sat Sep 13 13:16:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23744: guix: npm don't run Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 12 Jun 2016 20:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23744 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Jovany Leandro G.C" Cc: Jelle Licht , 23744@debbugs.gnu.org Received: via spool by 23744-submit@debbugs.gnu.org id=B23744.146576343431543 (code B ref 23744); Sun, 12 Jun 2016 20:31:02 +0000 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?=) 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-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 unknown Sat Sep 13 13:16:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Jovany Leandro G.C" Subject: bug#23744: closed (Re: bug#23744: guix: npm don't run) Message-ID: References: <8737nwa03t.fsf@gnu.org> <20160610083107.6ce9daa9@riseup.net> X-Gnu-PR-Message: they-closed 23744 X-Gnu-PR-Package: guix Reply-To: 23744@debbugs.gnu.org Date: Wed, 29 Jun 2016 08:09:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1467187742-7942-1" This is a multi-part message in MIME format... ------------=_1467187742-7942-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23744: guix: npm don't run which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23744@debbugs.gnu.org. --=20 23744: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23744 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1467187742-7942-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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. ------------=_1467187742-7942-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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, ------------=_1467187742-7942-1--