← Back to issue list

node-engine does not support NodeJS 8.X.X

View original Github issue

Metadata

Project
snapcraft
Number
#2001
Type
issue
State
closed
Author
arkuhn
Labels
—
Created
Updated
Closed

Current evaluation

Closed as stale; later PR #2342 updated Snapcraft's Node.js plugin to the latest 8.x LTS in commit b847e74af.

Resolution: closed stale

Reason: The report was closed after inactivity without comments or a maintainer explanation. Later merged PR #2342 updated the nodejs plugin to the latest Node.js 8.x LTS release in b847e74af.

Evaluated by: mr-cal-bot

No scores available.

Issue body

#### Issue description When declaring a node version 8.X.X, snapcraft builds fail with a variety of errors. #### Steps to reproduce the issue 1. Explicitly point 'node-engine' to 8.10.0 2. run 'snapcraft' ``` name: hello-node-snap version: "1.0.2" summary: A simple hello world command description: hello world confinement: strict apps: hello-node-snap: command: bin/hello-node-snap plugs: [network] parts: hello-node-snap: plugin: nodejs node-engine: 8.10.0 node-packages: - hello-node-snap ``` #### What's the expected result? I've received the following errors: [Errno 2] No such file or directory: mysnapdirectory/prime/bin/hello-node-snap OSError: [Errno 26] Text file busy: mysnapdirectory/parts/hello-node-snap/install/bin/node #### Additional details It looks as if npm is creating a package.json lockfile and silently failing. #### Bug report https://bugs.launchpad.net/snapcraft/+bug/1755524

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Closed as stale; later PR #2342 updated Snapcraft's Node.js plugin to the latest 8.x LTS in commit b847e74af.
stealth/space-bunny-alpha — closed stale Closed as stale after inactivity. PR #2342 later updated the nodejs plugin to the latest Node.js 8.x LTS in commit b847e74af.
stealth/space-bunny-alpha — closed stale Closed as stale after inactivity, with no comments, linked fix, or closing rationale. A later PR, #2342 (commit b847e74af), updated the plugin to the latest Node.js 8.x LTS.
qwen/qwen3.6-35b-a3b — — Closed without resolution or fix due to inactivity. The report detailed snapcraft build failures with Node.js 8.x caused by npm lockfile creation and file locking errors, but received no comments or patches.
qwen/qwen3.6-35b-a3b — — Closed without comments or a fix. The node-engine NodeJS 8.x compatibility report appears abandoned or superseded by snapcraft updates and Node 8 deprecation.
qwen/qwen3.6-35b-a3b — — Closed without comments or resolution. The Node.js 8.x build failure in the snapcraft nodejs plugin was abandoned and superseded by updated plugin support for modern Node.js versions.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. The node-engine compatibility issue with NodeJS 8.x was abandoned or marked outdated due to inactivity and zero comments.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#2342 (confidence 96%)

    Merged update to the latest Node.js 8.x LTS, directly relevant to the affected plugin.

Related issues

Issue Project State Summary Similarity
#1755524 Can not use NodeJS 8 snapcraft (launchpad) closed Closed as stale; Node.js 8 support was later addressed in snapcraft#2342 which updated the nodejs plugin to the latest 8.x LTS.
88%
#2342 nodejs plugin: update to the latest 8.x LTS version snapcraft merged Merged PR #2342 updated Snapcraft's nodejs plugin to the latest Node.js 8.x LTS release in commit b847e74af.
82%
#1797374 Update nodejs plugin to use latest LTS version 8.12.0 snapcraft (launchpad) closed Updated Snapcraft's Node.js plugin default to 8.12.0 via merged PR snapcraft#2342, commit b847e74af.
80%
#1703643 node-engine: 8.1.3 is not happy snapcraft (launchpad) closed Closed as stale on 2026-08-25 after nearly nine years; no fix was recorded, and maintainer @~mr-cal noted that the npm plugin had changed considerably since the 2017 report.
79%
#509 Add node-engine to snapcraft.yaml snapcraft merged Merged configurable node-engine support in #509 (commit d579b556e), replacing the Node.js plugin's hardcoded 4.2.2; shipped in Snapcraft 2.10.
71%
#2032 Can not use NodeJS 8 snapcraft closed Closed as an obsolete configuration report: the legacy NodeJS plugin had been replaced by npm and its parameters renamed. No resolving GitHub PR or commit was identified.
70%