Il 17/04/2015 18:43, Daniel Friesen ha scritto:
On 2015-04-17 8:16 AM, Ricordisamoa wrote:
Il 16/04/2015 21:50, Yuvi Panda ha scritto:


On Thu, 16 Apr 2015 at 11:32 Ricordisamoa <[email protected] <mailto:[email protected]>> wrote:


    nvm: command not found :(


It allows per-user node installs. See https://github.com/creationix/nvm. Shouldn't require root, and you can set it up just for your tool. Easy way to experiment :)


By no means :(

tools.jshint@tools-bastion-01:~$ nvm --version
0.24.1
tools.jshint@tools-bastion-01:~$ node --version
v0.12.2

And yet: https://tools.wmflabs.org/jshint/
nvm's version has nothing to do with the node version, nvm installs various node installs.

That was only to show that nvm was installed :-)


Also it works like rvm if you've ever used it. nvm installs releases in it's own folder and when you `nvm use ???` it changes your environment so that nvm's node, etc... are on your PATH, etc... instead of the system node.

So it doesn't replace the system node and your env is not the env that daemons execute in (if nvm did, your testing would have caused trouble for other tools users by replacing node for their tools).

To get the daemon to use a different node version something will need to be changed in the spawning of the daemon to invoke some nvm commands to change what node is used to run the tool.

~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]
_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l

Reply via email to