nodejs plugin: Unable to use node version other than 4.2.2
Bug #1586104 reported by
Kyle Fazzari
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Wishlist
|
Stephen Stewart | ||
snapcraft (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* The nodejs plugin is hard-coded to use version 4.2.2. This should be configurable via a `node-engine` config parameter.
[Test Case]
1. Run `snapcraft` on the shout example, notice by default it uses the node LTS (v4.4.4).
2. Run `snapcraft clean` to reset the shout example.
3. Change the shout configuration to specify `node-engine: 4.2.2`.
4. Run `snapcraft` on the shout example again, noticing that it's now using node v4.2.2.
[Regression Potential]
* Very low. This is a new feature that maintains backward compatibility with the previous plugin.
Changed in snapcraft: | |
milestone: | none → 2.10 |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft (Ubuntu Xenial): | |
milestone: | none → xenial-updates |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Feature here: https:/ /github. com/ubuntu- core/snapcraft/ pull/509