← Back to issue list

nodejs plugin does not download dependencies from package.json

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1623509
Type
issue
State
closed
Author
~jonathon-love
Labels
Created
Updated
Closed

Current evaluation

Abandoned. Closed without resolution. The nodejs plugin remains unpatched, continuing to skip devDependencies installation during build and breaking prepublish scripts.

Suggested action:

No scores available.

Issue body

sorry, the title should read 'nodejs plugin does not download devDependencies from package.json' package.json files contain devDependencies, which can be used by the prepublish script: "If you need to perform operations on your package before it is used, in a way that is not dependent on the operating system or architecture of the target system, use a prepublish script."[1] however, these are not installed during the build phase, and so a prepublish script depending on devDependencies will fail. [1] https://docs.npmjs.com/misc/scripts

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Abandoned. Closed without resolution. The nodejs plugin remains unpatched, continuing to skip devDependencies installation during build and breaking prepublish scripts.
qwen/qwen3.6-35b-a3b Abandoned. The nodejs plugin fails to install devDependencies from package.json, breaking prepublish scripts during builds. No fix was implemented.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1802496 Nodejs plugin doesn't rebuild properly snapcraft (launchpad) closed Closed without discussion. The Node.js plugin failed to install updates after rebuilds, requiring a clean directory to force reinstallation. The issue appears abandoned or resolved externally.
78%
#1652542 nodejs plugin does not download dependencies from package.json to the correct location snapcraft (launchpad) closed The nodejs plugin failed to download dependencies to the correct location due to a missing cwd argument. The author submitted a pull request to fix the oversight. The issue is closed, indicating the fix was merged and the bug resolved.
77%
#1612005 The nodejs plugin downloads packages during the build snapcraft (launchpad) closed Closed without resolution or comments. The nodejs and gulp plugins executed npm install during the build phase, violating Launchpad restrictions that only permit downloads during the pull phase. Likely abandoned or superseded.
77%
#1518403 nodejs plugin snapcraft (launchpad) closed Closed without implementation. The request to add a nodejs plugin received no comments or follow-up activity and was abandoned.
72%