Opened 2 years ago

Closed 2 years ago

#64911 closed update (fixed)

lens: update to latest release, if possible (currently 5.4.4)

Reported by: mascguy (Christopher Nielsen) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: lens

Description

This port is failing to build everywhere, due to a dependency on an old version of Node. Let's update, particularly if it now supports Node 16 and NPM 8+.

Change History (3)

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Specifically:

error kontena-lens@4.0.4: The engine "node" is incompatible with this module. Expected version ">=12 <13". Got "16.14.0"

Also notable: lens does not actually declare a dependency on a node port. Since it evidently requires node, it should declare the dependency.

comment:2 Changed 2 years ago by herbygillot (Herby Gillot)

Lens requires nodejs14. Since we cannot have multiple versions of Node installed side by side in MacPorts, and the current version used is nodejs16, I patched lens' package.json to permit the use of nodej16.

That seems to be causing the build process to fail right around the Electron build phase: https://github.com/macports/macports-ports/pull/14784

Making this port work with current node and npm does not look likely.

Last edited 2 years ago by herbygillot (Herby Gillot) (previous) (diff)

comment:3 Changed 2 years ago by herbygillot (Herby Gillot)

Resolution: fixed
Status: assignedclosed

In 9348a03eac4da0b8db2f1e9c48c68394c9306afa/macports-ports (master):

lens: update to 5.5.3

  • force permit the use of newer versions of Node

Fixes: #64911

Note: See TracTickets for help on using tickets.