← Back to issue list

Add node-engine to snapcraft.yaml

View original Github issue

Metadata

Project
snapcraft
Number
#509
Type
pull request
State
merged
Author
earnubs
Labels
—
Created
Updated
Closed

Current evaluation

Merged configurable node-engine support in #509 (commit d579b556e), replacing the Node.js plugin's hardcoded 4.2.2; shipped in Snapcraft 2.10.

Resolution: closed resolved

Reason: PR #509 was merged as commit d579b556e, allowing snapcraft.yaml to select the Node.js version. The related Launchpad bug was verified fixed after xenial-proposed testing and shipped in Snapcraft 2.10.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Allow the developer to set the version of node they want, the current plugin uses 4.2.2, LTS is 4.4.4 and higher versions enable more of ES2015 http://node.green/

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged configurable node-engine support in #509 (commit d579b556e), replacing the Node.js plugin's hardcoded 4.2.2; shipped in Snapcraft 2.10.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#509 (d579b556e), adding configurable node-engine support so snapcraft.yaml can select Node.js versions instead of hardcoding 4.2.2.
qwen/qwen3.6-35b-a3b — — Merged after resolving conflicts by rebasing onto master. Adds node-engine configuration to snapcraft.yaml, enabling custom Node.js version selection instead of the hardcoded 4.2.2. Approved by maintainers.
qwen3.6-35b-a3b-mtp-q6 — — Merged after syncing with master to resolve conflicts. Adds a configurable node-engine version to snapcraft.yaml, replacing the hardcoded 4.2.2 default to support newer ES2015 features. Approved and tested by maintainers.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft (launchpad)#1586104 (confidence 98%)

    The upstream Launchpad bug reported the hardcoded Node.js 4.2.2 limitation and was verification-done after the fix.

Related issues

Issue Project State Summary Similarity
#1586104 nodejs plugin: Unable to use node version other than 4.2.2 snapcraft (launchpad) closed nodejs plugin's hard-coded node 4.2.2 made configurable via a new `node-engine` key; implemented in snapcraft PR #509 (commit d579b556e), released in snapcraft 2.10 and verified in xenial-proposed.
76%
#2001 node-engine does not support NodeJS 8.X.X snapcraft closed Closed as stale; later PR #2342 updated Snapcraft's Node.js plugin to the latest 8.x LTS in commit b847e74af.
71%