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

node: use .xz archives as .gz returns 404 #326

Closed
wants to merge 1 commit into from

Conversation

vlaci
Copy link

@vlaci vlaci commented Mar 16, 2023

Installation on Linux fails with the following error:

 * Install prebuilt node (19.8.1) ...
Traceback (most recent call last):
  File "/app/.venv/bin/nodeenv", line 8, in <module>
    sys.exit(main())
  File "/app/.venv/lib/python3.10/site-packages/nodeenv.py", line 1104, in main
    create_environment(env_dir, args)
  File "/app/.venv/lib/python3.10/site-packages/nodeenv.py", line 980, in create_environment
    install_node(env_dir, src_dir, args)
  File "/app/.venv/lib/python3.10/site-packages/nodeenv.py", line 739, in install_node
    install_node_wrapped(env_dir, src_dir, args)
  File "/app/.venv/lib/python3.10/site-packages/nodeenv.py", line 772, in install_node_wrapped
    copy_node_from_prebuilt(env_dir, src_dir, args.node)
  File "/app/.venv/lib/python3.10/site-packages/nodeenv.py", line 665, in copy_node_from_prebuilt
    src_folder, = glob.glob(src_folder_tpl)
ValueError: not enough values to unpack (expected 1, got 0)

tar.gz links like https://nodejs.org/download/release/v19.8.1/node-v19.8.1-linux-x64.tar.gz lead to a 404 page
I don't know if this is just a long outage or what on the nodejs side, but the home page also offers the xz file for download for Linux users
Tried a few random versions, all have this issue.
image

@tobias-urdin
Copy link

This seems to have been a temporary issue with downloading, can see that they are not responding with 404 anymore. The error message from nodeenv is very weird thought and should probably be better for end-users.

@ekalinin ekalinin closed this Nov 25, 2023
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

Successfully merging this pull request may close these issues.

None yet

3 participants