nodenv / node-build

Install NodeJS versions
MIT License
271 stars 80 forks source link

Newer 16 versions missing #766

Closed MiguelNiblock closed 2 years ago

MiguelNiblock commented 2 years ago

When I run nodenv install --list, the latest 16 version is 16.2 and I need some newer 16 versions in order to stop getting errors of EBADENGINE Unsupported engine, which happens very often when installing npm stuff. I have the latest version for both node-build and nodenv, so I don't think I'm seeing an outdated list. Are these versions indeed missing? Or is it just my setup that is faulty? Is there a way I can install the newer 16 versions through node-build/ nodenv?

MiguelNiblock commented 2 years ago

I figured it out. https://github.com/nodenv/node-build-update-defs I installed this through npm, then added this to my .bashrc

export NODE_BUILD_DEFINITIONS=$(npm -g prefix)/lib/node_modules/@nodenv/node-build-update-defs/share/node-build

then ran nodenv update-version-defs then definitions are there in nodenv install -l