-
Notifications
You must be signed in to change notification settings - Fork 178
Conversation
/cc @am11 |
@fengmk2, thanks 👍 |
@fengmk2, I tested as follow: nvmw install v0.10.32 x86
:: after it says 'Now using node v0.10.32'
node -v
:: returns v0.10.32
node -p process.arch
:: returns x64 Also getting the same result with Expected behaviour: nvmw install v0.10.32 x86 :: and / or ia32
:: should say 'Now using node v0.10.32-x86' (and / or v0.10.32-ia32)
node -v
:: v0.10.32
node -p process.arch
:: should return ia32 |
fix x86 on fengmk2@6fb3002 |
@fengmk2, thank you! It now downloads ia32 binaries with either of those switches. Also tested with iojs! 👍 Would it be possible to make both architectures of same version co-exits? Meaning it always create a folder with arch slug: IMO, even if you are re-downloading the existing |
Install both x32 and x64 at some time is too complex. |
In our use-case for example: sass/node-sass#655, where we are building binaries for a matrix covering various runtimes are architectures, it is required to have both architectures. Having both architectures simultaneously will prevent us from reinstalling the same version again. |
@am11 OK, let's change to this:
This change can be keep compatible. |
$ nvmw install 0.12.0 x64 $ nvmw install 0.12.0 x86
@am11 done |
@am11 you can take a try to pre build binary using https://github.com/mapbox/node-pre-gyp |
@fengmk2, I can confirm that it is fixed! Thank you! 👍 🎉 (would be nice if you could update the README in the same PR) 😎 Also thanks for the node-pre-gyp tip. We already have that planned for quite sometime: sass/node-sass#56. We are struggling with Linux binaries which requires a lot of extra work to support older versions of CentOS (see sass/node-sass#517 and sass/node-sass#602). Hence automated build is not a very smooth option to implement for now. |
@fengmk2 Wow, you did great work again and again! 👍 |
Fixes #40