-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node 12.0 support #2921
Comments
As a workaround, there is a documented method to use whatever versions of Node you want. This helped me upgrade a couple of projects earlier in the week: https://github.com/atom/fs-admin/blob/master/appveyor.yml environment:
matrix:
- nodejs_version: "8"
- nodejs_version: "10"
- nodejs_version: "11"
- nodejs_version: "12"
platform:
- x86
- x64
install:
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:PLATFORM
- npm install |
Thanks @shiftkey the workaround did work. I'll leave this open till the images get updated though |
@nschonni yes, please do not close :) |
Try to use workaround for missing "default" Node v12 on appveyor: appveyor/ci#2921 (comment)
* Update code to compile with Node 12 as well * Add Node 12 tests for appveyor and Travis * Update how to pull Node packages for appveyor Based on appveyor/ci#2921 (comment) Signed-off-by: Gergely Imreh <gergely@balena.io> PR-URL: #81
We aren't using Node 12 from AppVeyor as it is not supported yet, appveyor/ci#2921
Node 12 may not be pre-built yet? appveyor/ci#2921
* Add Node.js 12 to CIs See [changelog](https://github.com/nodejs/node/blob/v12.1.0/doc/changelogs/CHANGELOG_V12.md). * Try workaround of Node 12 on AppVeyor appveyor/ci#2921 (comment)
@lyaFinkelshteyn, is there a PS way to essentially do this in the try {
Install-Product node $env:nodejs_version $env:platform
} catch(err) {
Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
} As Node-12 is still unavailable, environment:
matrix:
- nodejs_version: '12'
- nodejs_version: '10'
- nodejs_version: '8'
- nodejs_version: '6' |
@IlyaFinkelshteyn ping! |
Appveyor still does not support Node v12: appveyor/ci#2921
Node.JS 12 is available on AppVeyor environment! |
@plroebuck sorry, missed your message. This YAML would work for you (though you do not need it now, but may help later): environment:
matrix:
- nodejs_version: '12'
- nodejs_version: '10'
- nodejs_version: '8'
- nodejs_version: '6'
platform:
- x86
- x64
install:
- ps: |
try {
Install-Product node $env:nodejs_version $env:platform
} catch {
echo "Unable to install node $env:nodejs_version, trying update..."
Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
} |
Node 12.0 was released today https://nodejs.org/en/blog/release/v12.0.0/
The text was updated successfully, but these errors were encountered: