← Back to issue list

Fix gulp plugin's npm install prefix

View original Github issue

Metadata

Project
snapcraft
Number
#782
Type
pull request
State
merged
Author
AlexandreAbreu
Labels
—
Created
Updated
Closed

Current evaluation

Merged as e68413299 via #782, fixing the Gulp plugin to use a snap-local npm prefix instead of installing globally in /usr/local/bin (LP: #1621921).

Resolution: closed resolved

Reason: The pull request was merged as commit e68413299. Its change corrects the Gulp plugin's npm installation prefix for local snap builds.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Fix the gulp plugin npm prefix install, by default gult is being installed globally in /usr/local/bin which is not a proper install prefix for a local snap, One can easily test with e.g. the snapweb snapcraft install, LP: #1621921

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as e68413299 via #782, fixing the Gulp plugin to use a snap-local npm prefix instead of installing globally in /usr/local/bin (LP: #1621921).
stealth/space-bunny-alpha — closed resolved Merged as e68413299 via #782, fixing the gulp plugin to use a snap-local npm install prefix instead of installing into /usr/local/bin (LP: #1621921).
qwen/qwen3.6-35b-a3b — — Merged a fix adjusting the gulp plugin's npm install prefix to prevent global installations in /usr/local/bin, ensuring proper local snap builds. Resolves LP #1621921 with a +7/-2 line change. Reviewers noted a similar prefix configuration may be needed for the nodejs plugin.
qwen3.6-35b-a3b-mtp-q6 — — Merged fix correcting the gulp plugin npm install prefix for local snaps, preventing global installation to /usr/local/bin. Maintainer approved and ran tests. Contributor noted similar prefix handling should apply to the nodejs plugin.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1621921 The gulp plugin installs gulp globally instead of locally to the snap's part snapcraft (launchpad) closed Fixed in canonical/snapcraft#782 via commit e68413299, changing the Gulp plugin to install npm packages into the snap part instead of globally.
77%