Public bug reported: ## The problem
When running `nodeenv --list` flag with nodeenv it crashes with the error ``` Traceback (most recent call last): File "/usr/bin/nodeenv", line 11, in <module> load_entry_point('nodeenv==0.13.4', 'console_scripts', 'nodeenv')() File "/usr/lib/python3/dist-packages/nodeenv.py", line 881, in main opt.node = get_last_stable_node_version() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/nodeenv.py", line 835, in get_last_stable_node_version return links[-1][0] ~~~~~^^^^ IndexError: list index out of range ``` This seems to be because of a change in the upstream html page of nodejs such that the regex in the version 0.13.4 (found here https://github.com/ekalinin/nodeenv/blob/0.13.4/nodeenv.py#L824) stops working. The problem is fixed in the newest release (1.9.1) which can be installed using pip with the flag `--break-system-packages` ## How to replicate 1. `docker run -it ubuntu:24.04 bash` (or any other freshly installed ubuntu 24.04) 2. `apt update` 3. `apt install nodeenv` 4. `nodeenv --list` ** Affects: nodeenv (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2091101 Title: Crashes when listing versions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nodeenv/+bug/2091101/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs