Install-Product node x.x fails on macos

harel.mazor's Avatar

harel.mazor

27 Dec, 2019 07:14 AM

Hi,

I have recently started building iOS applications using macos (or at least started exploring the option).
It seems the the guidelines on how to change the nodejs version does not work on macos.
See here:
https://ci.appveyor.com/project/IsraelHikingHost/site/builds/297714...
Install-Product : The term 'Install-Product' is not recognized as the name of a cmdlet, function, script file, or operable program.

Thanks!
Harel M.

  1. Support Staff 1 Posted by Feodor Fitsner on 29 Dec, 2019 08:19 PM

    Feodor Fitsner's Avatar

    On Linux and macOS images you can use nvm tool, for example to install and use the latest Node 10.x:

    nvm install 10
    nvm use 10
    
  2. 2 Posted by harel.mazor on 30 Dec, 2019 01:40 PM

    harel.mazor's Avatar

    Thanks for the info.
    I would like to have a single script regardless of the image as much as possible.
    I see that I'm not the first one to encounter this issue.
    Please at least update the documentation as requested here:
    https://github.com/appveyor/website/issues/468
    https://github.com/appveyor/website/issues/474
    Those issues are open for more than a year now... :-/

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

07 Jul, 2020 06:21 PM
07 Jul, 2020 03:15 PM
05 Jul, 2020 02:33 AM
03 Jul, 2020 07:29 PM
03 Jul, 2020 03:53 AM

 

02 Jul, 2020 09:09 PM
02 Jul, 2020 03:24 PM
01 Jul, 2020 01:12 PM
30 Jun, 2020 04:26 PM
25 Jun, 2020 05:54 PM
24 Jun, 2020 08:11 AM