Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install latest lts node@20.12.0 #388

Open
jlarmstrongiv opened this issue Mar 29, 2024 · 2 comments
Open

Cannot install latest lts node@20.12.0 #388

jlarmstrongiv opened this issue Mar 29, 2024 · 2 comments

Comments

@jlarmstrongiv
Copy link

jlarmstrongiv commented Mar 29, 2024

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 to /var/folders/zf/2l3hc6vn12v7r89t45mhxzhm0000gn/T/node-build.20240329024320.31743.log

Last 10 log lines:
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
e5f607|OK  |    44MiB/s|/private/var/folders/zf/2l3hc6vn12v7r89t45mhxzhm0000gn/T/node-build.20240329024320.31743.2hX97b/node-v20.12.0-darwin-x64.tar.gz

Status Legend:
(OK):download completed.
No version is set for command shasum
Consider adding one of the following versions in your config file at
perl 5.32.1

It seems the main issue is No version is set for command shasum

Occurs on both x86_64 and arm64 macOS Sonoma

@jlarmstrongiv
Copy link
Author

More info on the error, which persists in 20.12.1. It seems you can install any version so long as you are not in a folder with a .tool-versions file. In that case, it will only print a warning.

asdf install nodejs 20.12.1
Trying to update node-build... ok
No version is set for command shasum
Consider adding one of the following versions in your config file at /Users/user/.tool-versions
perl 5.32.1
Downloading node-v20.12.1-darwin-arm64.tar.gz...
-> https://nodejs.org/dist/v20.12.1/node-v20.12.1-darwin-arm64.tar.gz
Installing node-v20.12.1-darwin-arm64...
Installed node-v20.12.1-darwin-arm64 to /Users/user/.asdf/installs/nodejs/20.12.1

asdf: Warn: You have configured asdf to preserve downloaded files (with always_keep_download=yes or --keep-download). But
asdf: Warn: the current plugin (nodejs) does not support that. Downloaded files will not be preserved.

@thierrymarianne

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants