The nodejs plugin downloads packages during the build
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
The build step of the nodejs and gulp plugins involves running npm install. This makes launchpad builds fail, because they only allow downloads during the pull phase:
Building assets
npm install -g gulp-cli
npm ERR! Linux 3.13.0-93-generic
npm ERR! argv "/build/snapweb/parts/assets/npm/bin/node" "/build/snapweb/parts/assets/npm/bin/npm" "install" "-g" "gulp-cli"
npm ERR! node v4.4.4
npm ERR! npm v2.15.1
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! syscall getaddrinfo
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. The nodejs plugin was modified to run npm install during the pull phase instead of the build phase, resolving Launchpad download failures. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1623509 nodejs plugin does not download dependencies from package.json | snapcraft (launchpad) | closed | Abandoned. Closed without resolution. The nodejs plugin remains unpatched, continuing to skip devDependencies installation during build and breaking prepublish scripts. | |
| #1618622 gulp plugin downloads during build | snapcraft (launchpad) | closed | Closed without resolution. The report described a gulp plugin downloading during build, referencing a similar Launchpad bug. With zero comments and no fix provided, the issue was likely abandoned or superseded by other changes. | |
| #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. |