<mailto:josh.marsh...@jax.org>;
help-guix@gnu.org<mailto:help-guix@gnu.org>; Vivien
Kraus<mailto:viv...@planete-kraus.eu>
Subject: [EXTERNAL]Re: How should I be running `npm install …`?
To use different directory for global packages, you have to create ~/.npmrc
dotfile with:
prefix=~
To use different directory for global packages, you have to create ~/.npmrc
dotfile with:
prefix=~/.npm
Once you have that you should be able to do npm i -g, and package would be
installed in ~/.npm
Also don't forget to add ~/.npm/bin in your PATH:
export PATH="$HOME/.npm/bin:$PATH"
Hope this h
Gary Johnson wrote:
> Dmitry Alexandrov <321...@gmail.com> writes:
>> So? /usr/ in traditional GNU distributions might be read-only as well, but
>> it does not impede npm(1) or pip(1) or whatever install things system-wide
>> (given that operator utilize his superuser powers, of course), as the
In Guix, all system-level packages and configuration files are created
by the package manager under /gnu/store. The /usr directory is empty on
a Guix system.
~Gary
Dmitry Alexandrov <321...@gmail.com> writes:
> Vivien Kraus wrote:
>> Le jeudi 30 avril 2020 à 14:59 +, Josh Marshall a écrit :
Vivien Kraus wrote:
> Le jeudi 30 avril 2020 à 14:59 +, Josh Marshall a écrit :
>> I’m trying to run `npm install -g browserify` with the output below.
>> npm ERR! path
>> /gnu/store/39zkw3a8lxkxs7rmx4238959zc368075-node-10.19.0/lib/node_modules
>
> I am a mere guix user, so you may want to
Hey Josh,
Josh Marshall writes:
> 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
This gets me what I need – thanks!
From: Vivien Kraus
Sent: Thursday, April 30, 2020 11:06:15 AM
To: Josh Marshall ; help-guix
Subject: [EXTERNAL]Re: How should I be running `npm install …`?
Hello!
Le jeudi 30 avril 2020 à 14:59 +, Josh Marshall a écrit
Hello!
Le jeudi 30 avril 2020 à 14:59 +, 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-
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