RE: [EXTERNAL]Re: How should I be running `npm install …`?

2020-06-17 Thread Josh Marshall
<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=~

Re: How should I be running `npm install …`?

2020-06-17 Thread Dejan Ranisavljevic
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

Re: How should I be running `npm install …`?

2020-06-16 Thread Dmitry Alexandrov
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

Re: How should I be running `npm install …`?

2020-06-16 Thread Gary Johnson
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 :

Re: How should I be running `npm install …`?

2020-05-02 Thread Dmitry Alexandrov
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

Re: How should I be running `npm install …`?

2020-04-30 Thread Jelle Licht
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

RE: [EXTERNAL]Re: How should I be running `npm install …`?

2020-04-30 Thread Josh Marshall
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

Re: How should I be running `npm install …`?

2020-04-30 Thread Vivien Kraus
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-

How should I be running `npm install …`?

2020-04-30 Thread Josh Marshall
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