Opened 3 years ago

Last modified 12 months ago

#63035 assigned defect

nodejs/npm ports: segregate each, so that multiple versions can coexist side-by-side

Reported by: mascguy (Christopher Nielsen) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: herbygillot (Herby Gillot), jonasjonas (Frank Hellenkamp), cooljeanius (Eric Gallager)
Port: nodejs npm

Description

Since the various NodeJS and NPM ports conflict with each other, that makes it difficult to manage dependencies for dependent components. It also precludes installing multiple versions for use/testing.

Change History (8)

comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)

There is at least one open issue related to this, and perhaps there are others:

influxdb @2.0.7: buildbot builds failing, due to dependencies on both nodejs15 and nodejs16 - issue:63034

comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)

I'm willing to help with this, if you folks support it?

comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)

Given the recurring issues caused by not being able to install various Node/NPM versions side-by-side - as well as the fact that this limitation effectively prevents users and Devs from being able to use multiple versions at once - I'm going to prioritize this work.

We've supported side-by-side installation of much more complex stacks like Python, for a long time. And it's time we do the same for Node.

Last edited 3 years ago by mascguy (Christopher Nielsen) (previous) (diff)

comment:4 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: changed from ci42 to mascguy

comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)

I'm hoping to start tackling this - starting with the oldest Node/NPM versions we provide - over the next few weeks.

It'll be an iterative process for sure, as we'll likely want to refactor shared logic to a new portgroup. But given the benefits of side-by-side installations, this will be given a reasonably high priority.

comment:6 Changed 2 years ago by jonasjonas (Frank Hellenkamp)

Cc: jonasjonas added

comment:7 Changed 12 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:8 Changed 12 months ago by cooljeanius (Eric Gallager)

I think this might be causing #68726

Note: See TracTickets for help on using tickets.