fnm icon indicating copy to clipboard operation
fnm copied to clipboard

node-build compilation fallback

Open Schniz opened this issue 3 years ago β€’ 3 comments

Add the ability to add --force-arch to fnm env so if a prebuilt version is not found, fnm will use node-build to compile the Node.js version locally.

Schniz avatar Feb 23 '22 11:02 Schniz

@Schniz Could you need help working on this? I am currently having a bit of an issue with other team members using nvm and arm64 NodeV14, I would certainly look forward not having to switch back to nvm πŸ˜‚

trm217 avatar Apr 21 '22 07:04 trm217

I think it’s fairly finished. I’ll take another look and will release it on the next version. The only problem is node-build not supporting spaces in the installation path

Schniz avatar Apr 21 '22 07:04 Schniz

New MacOS version removes python@2 so build scripts fail. I think that the best solution is to have a precompiled repo: that would be both fast and easy to install.

Schniz avatar May 12 '22 09:05 Schniz