← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1586104] Re: nodejs plugin: Unable to use node version other than 4.2.2

 

** Changed in: snapcraft
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1586104

Title:
  nodejs plugin: Unable to use node version other than 4.2.2

Status in Snapcraft:
  Fix Released
Status in snapcraft package in Ubuntu:
  Fix Released
Status in snapcraft source package in Xenial:
  Fix Committed
Status in snapcraft source package in Yakkety:
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1586104/+subscriptions