Refael Ackermann
Refael Ackermann
> @lukechilds It's a useful feature when supported natively in nvm, yes. However, it's worth noting that most people shouldn't ever install nightlies - and the people that can, don't...
> @refack even if you count all v8 and chakra and spidermonkey and node core devs (which is the only group I believe that truly needs the feature), that's still...
> "this thing you want to do with nvm does not yet work, and if you hack around it because you're impatient, things might break" How did you guess my...
I think you can see what I did at - https://ci.nodejs.org/job/nodegyp-test-commit/configure. I am lying to it a bit... But it works great. ```bash # Use NVS for cross platform node...
At your advice I changed it to ```bash # Use NVS for cross platform node install export NVS_HOME="$PWD/temp_nvs" export NVS_LINK_TO_SYSTEM=0 git clone https://github.com/jasongin/nvs "$NVS_HOME" export PATH="$NVS_HOME:$PATH" nvs add $NODE_EXE #...
It got snippy at me ;) https://ci.nodejs.org/job/nodegyp-test-commit/511/nodes=osx1010/console ``` + nvs use v10.12.0 The 'use' command is not available when invoking this script as an executable. To enable PATH updates, source...
Anyway thanks a bunch, this helped me a lot, allowed me to get rid of ~40 lines of ugly bash script ___and___ get more platforms supported 🥇
Your code was better (since on windows `node` is `node.exe`), so fully functioning code is now: ```bash # Use NVS for cross platform node install export NVS_HOME="$PWD/temp_nvs" git clone https://github.com/jasongin/nvs...
So only optimization I'd need is: ```bash # Use NVS for cross platform node install export NVS_HOME="$PWD/temp_nvs" git clone https://github.com/jasongin/nvs "$NVS_HOME" . $NVS_HOME/nvs.sh add $NODE_EXE nvs use $NODE_EXE ``` to...
@frerich thanks for the answer. This is a pain point for me ATM, as I'm trying to re-align `Node.js`'s warning exclusion list... It's quite frustrating that these two generate different...