I´m fairly new to Node, but I´ve seen several people recommend using Volta (https://github.com/volta-cli/volta) or the older but slower nvm (node version manager: https://github.com/nvm-sh/nvm) to manage Node versions, similar to how you can use virtualenv to install multiple versions of python in parallel.
Volta appears to be somewhat more modern and resolves some issues with nvm, but honestly I´m new to both so I don´t have much experience with either. https://dev.to/pierre/switch-from-nvm-to-volta-384a Perhaps it might be possible to offload packaging and dependency management from Ubuntu maintainers to these third-party tools. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861327 Title: [needs-packaging] Can't run npm because of outdated nodejs in repos To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nodejs/+bug/1861327/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs