Il giorno giovedì 22 maggio 2014 00:34:41 UTC+2, Daniel R. ha scritto:
>
> If you frequently run multiple different versions of node on the same 
> machine, many use a version manager like nvm or n to make the task easier. 
> In this case you would install the module globally for each version of node.
>
I already seen these management packages version .. few times ago I used 
nvm but it was a bit of trouble on the system .. I stopped using it.
Perhaps now 'n' works best?
But anyway of these packages support the automatic rebuilding of all global 
modules installed?
 

In general I would recommend reinstalling global modules. If you instead 
> copy, be sure to do an npm rebuild on each global module to ensure any 
> binary bits are recompiled against the new version of node.
>
tnks @Daniel, Unfortunately, I have just a system with so many node_modules 
dirs scattered around :(

however I'm upgrade from 0.10.12 to 0.10.26... should be no problems, right?


 

> -- Daniel R. <[email protected] <javascript:>> [http://danielr.neophi.com/
> ]
> On May 21, 2014 3:25 PM, "Stefano Cudini" <[email protected]<javascript:>> 
> wrote:
>
>> I upgraded nodejs on my system to a new version.
>>
>> I had already installed many npm packages installed globally with the 
>> previous version, inside: /opt/node-v0.old/lib/node_modules 
>>
>> The new version now say the package is located 
>> at:/opt/node-v0.new/lib/node_modules
>>
>> Is a better way to reinstall all packages with the new version of nodejs? 
>> or I can simply move node_modules dir to the new path? 
>>
>> what is the best behavior usually?
>>
>> -- 
>> Job board: http://jobs.nodejs.org/
>> New group rules: 
>> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
>> Old group rules: 
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "nodejs" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/nodejs/43b545a8-ef47-428a-8adf-9a42ff2b18dd%40googlegroups.com<https://groups.google.com/d/msgid/nodejs/43b545a8-ef47-428a-8adf-9a42ff2b18dd%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/1ba5bcee-6c73-4417-9cd2-29f46f29c9d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to