You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
volta pin node@8 --verbose [verbose] Loaded custom hooks file: /Users/local-admin/.volta/hooks.json [verbose] Using node.index hook to determine node index URL [verbose] Found valid cache of Node version index [verbose] Found [email protected] matching requirement '>=8.0.0 <9.0.0-0' from https://mirrors.dotsrc.org/nodejs/release/index.json [verbose] Acquiring lock on Volta directory: /Users/local-admin/.volta/volta.lock [verbose] Using node.distro hook to determine download URL [verbose] Downloading [email protected] from https://mirrors.dotsrc.org/nodejs/release/v8.17.0/node-v8.17.0-darwin-arm64.tar.gz
[verbose] Unlocking Volta Directory error: Could not download [email protected] from https://mirrors.dotsrc.org/nodejs/release/v8.17.0/node-v8.17.0-darwin-arm64.tar.gz
I'd like to point out that earlier versions (<16)of Node.js actually don't include packages specifically for darwin-arm64 architecture.
The text was updated successfully, but these errors were encountered:
zhongduyiyu
changed the title
When installing node@8 on Apple M series chips, Volta generates an invalid path
When installing node@8 on Apple M series chips, Volta generates an invalid URL path
Aug 19, 2024
Hi @zhongduyiyu, thanks for the report! I suspect this is an issue with our somewhat haphazard hooks implementation—when we're not using hooks, we correctly fall back to the Intel version of Node for versions < 16. However, I bet we're unconditionally passing the actual architecture to the hook, rather than being smart about the version.
I encountered this behavior for custom hooks in Windows Arm as well, and I'll note that Node provides Windows Arm installers for >=19. So, custom hooks will fail in the Windows Arm build of volta v2 for node versions <19.
volta pin node@8 --verbose
[verbose] Loaded custom hooks file: /Users/local-admin/.volta/hooks.json
[verbose] Using node.index hook to determine node index URL
[verbose] Found valid cache of Node version index
[verbose] Found [email protected] matching requirement '>=8.0.0 <9.0.0-0' from https://mirrors.dotsrc.org/nodejs/release/index.json
[verbose] Acquiring lock on Volta directory: /Users/local-admin/.volta/volta.lock
[verbose] Using node.distro hook to determine download URL
[verbose] Downloading [email protected] from https://mirrors.dotsrc.org/nodejs/release/v8.17.0/node-v8.17.0-darwin-arm64.tar.gz
[
verbose] Unlocking Volta Directory
error: Could not download [email protected]
from https://mirrors.dotsrc.org/nodejs/release/v8.17.0/node-v8.17.0-darwin-arm64.tar.gz
I'd like to point out that earlier versions (<16)of Node.js actually don't include packages specifically for darwin-arm64 architecture.
The text was updated successfully, but these errors were encountered: