Node version not available after specifying nodejs_version

Iwan's Avatar

Iwan

26 Oct, 2017 06:28 PM

This is my appveyor.yml

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

platform:
  - x64

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

If my build starts I get:

Build started
git clone -q --branch=master https://github.com/IwanKaramazow/Track.git C:\projects\track
git checkout -qf 69ca15a431e157aec7d55383b7c18da020c70070
Running Install scripts
node -v
v4.8.4

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

  1. 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

Generic

? 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