Node version not available after specifying nodejs_version

Iwan's Avatar


26 Oct, 2017 06:28 PM

This is my appveyor.yml

  image: Visual Studio 2017
    # node.js
    - nodejs_version: "6"
    - nodejs_version: "7"
    - nodejs_version: "8"

  - x64

  - node -v
  - npm install -g esy
  - esy install

If my build starts I get:

Build started
git clone -q --branch=master C:\projects\track
git checkout -qf 69ca15a431e157aec7d55383b7c18da020c70070
Running Install scripts
node -v

Why is the node version v4 instead of v6, 7 or 8 ?

  1. Support Staff 1 Posted by Ilya Finkelshte... on 26 Oct, 2017 07:12 PM

    Ilya Finkelshteyn's Avatar

    Please add the following into install step:

    - ps: Install-Product node $env:nodejs_version
  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:20 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac