asdf-nodejs
asdf-nodejs copied to clipboard
Node.js plugin for asdf version manager
I am unable to install the latest LTS version of Node (v20.13.0) which was released on 2024-05-07. Here is the output I'm seeing: ```sh $ asdf install nodejs 20.13.0 Trying...
``` WARNING: node-v21.7.2-darwin-arm64 is in LTS Maintenance mode and nearing its end of life. It only receives *critical* security updates, *critical* bug fixes and documentation updates. ``` I think that's...
``` BUILD FAILED (OS X 14.3.1 using node-build 4.9.99-174-g9122e14b) Binary installation failed; try compiling from source with `--compile` flag Inspect or clean up the working tree at /var/folders/zf/2l3hc6vn12v7r89t45mhxzhm0000gn/T/node-build.20240329024320.31743.2hX97b Results logged...
I would like to try Node.js nightly (v22), which experimentally supports WasmGC. I remember that `asdf list-all nodejs` showed `nightly` formerly, but it appears that `nightly` is no longer shown...
Currently asdf-nodejs can not resolve lts correctly, it will only return the code number. After the fix, the plugin can resolve it correctly.
I'm run behind corporate proxy on my linix machine (RHEL 8.8) http_proxy and https_proxy are set on environment and I was able to clone asdf repo as described in https://asdf-vm.com/guide/getting-started.html...
Documented here: https://pnpm.io/npmrc#use-node-version example: ```bash use-node-version=22.9.0 ``` since .npmrc is not a leagcy file, it should be supported out of the box, with no flags, no `.tool-versions` required.
When I try common Internet shell snippets to quickly delete all my (global) NPM packages, then `npm` becomes corrupted. Commands like `npm install [-g]` and `npm ls [-g]` no longer...
When managing executable scripts with `npm install [-g]` in an ASDF context, then ASDF's symlinks break how the conventional modulion snippet works. ```js #!/usr/bin/env node export default function main() {...
it's weird that this is only happening for node v15.14.0 however, mine failed in the end when trying to compile. this is on macos 14.6.1 on arm (m3). Not sure...