← 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 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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Closed without comments or resolution. Support for Node.js 8 in the snapcraft nodejs plugin was abandoned as the version reached end-of-life and the toolchain evolved. No fix was implemented.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1755524 Can not use NodeJS 8 snapcraft (launchpad) open snapcraft nodejs plugin build failures when pinning node-engine to 8.10.0 (missing bin, Text file busy on node). No comments or labels; closed without a fix. NodeJS 8 is long EOL and the plugin has since been rewritten.
80%
#1703643 node-engine: 8.1.3 is not happy snapcraft (launchpad) closed Closed as stale. The node-engine 8.1.3 cleanbuild failure stemmed from a missing staging directory. The npm plugin has changed considerably since the report, so the issue was abandoned without a direct fix.
79%
#2032 Can not use NodeJS 8 snapcraft closed Closed by maintainer without comments or resolution. Likely abandoned or superseded by newer Node.js versions due to inactivity.
73%