The nodejs plugin downloads packages during the build
Bug #1612005 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
New
|
Undecided
|
Unassigned | ||
Snapcraft |
Fix Released
|
High
|
Scott Moser |
Bug Description
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/
npm ERR! node v4.4.4
npm ERR! npm v2.15.1
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! syscall getaddrinfo
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Sergio suggests that instead of changing the plugins, launchpad should allow downloads during the build phase too. I've added the launchpad task so we can start the discussion to see where is the best place to fix this.