Node 10 breaks newest netlify-cli
rmehner opened this issue · 4 comments
rmehner commented
👋
Hey there,
netlify-cli depends on netlify which then depends on @netlify/open-api.
The latter has engines set to "12" in its package.json, however the current docker file is using Node 10. This breaks all GitHub actions that are using the netlify actions right now.
Full Log:
2020-02-27T09:27:33.7506412Z ##[section]Starting: Request a runner to run this job
2020-02-27T09:27:34.0239360Z Requesting a hosted runner in current repository's account/organization with labels: 'ubuntu-latest', require runner match: True
2020-02-27T09:27:34.0937918Z Labels matched hosted runners has been found, waiting for one of them get assigned for this job.
2020-02-27T09:27:34.1143850Z ##[section]Finishing: Request a runner to run this job
2020-02-27T09:27:39.5375080Z Current runner version: '2.165.2'
2020-02-27T09:27:39.5376368Z Prepare workflow directory
2020-02-27T09:27:39.5726649Z Prepare all required actions
2020-02-27T09:27:39.5743219Z Download action repository 'actions/checkout@v1'
2020-02-27T09:27:39.8839283Z Download action repository 'actions/setup-node@v1'
2020-02-27T09:27:40.8422723Z Download action repository 'actions/cache@v1'
2020-02-27T09:27:40.9992754Z Download action repository 'netlify/actions@master'
2020-02-27T09:27:41.2358367Z Download action repository 'ivanjosipovic/actions@9a45120'
2020-02-27T09:27:41.5564021Z Build container for action use: '/home/runner/work/_actions/netlify/actions/master/cli/Dockerfile'.
2020-02-27T09:27:41.5624587Z ##[command]/usr/bin/docker build -t e87b52:7f24099057a4435c92e8bc3568ab62bb "/home/runner/work/_actions/netlify/actions/master/cli"
2020-02-27T09:27:42.3318513Z Sending build context to Docker daemon 4.608kB
2020-02-27T09:27:42.3318785Z
2020-02-27T09:27:42.3344089Z Step 1/12 : FROM node:10-alpine
2020-02-27T09:27:42.3344520Z ---> 29fc59abc5de
2020-02-27T09:27:42.3344989Z Step 2/12 : LABEL version="1.0.0"
2020-02-27T09:27:42.8318932Z ---> Running in 979f74117e07
2020-02-27T09:27:44.4418960Z Removing intermediate container 979f74117e07
2020-02-27T09:27:44.4419803Z ---> a4610cfe05ca
2020-02-27T09:27:44.4421003Z Step 3/12 : LABEL repository="http://github.com/netlify/actions"
2020-02-27T09:27:44.4587350Z ---> Running in b67e6e0c6729
2020-02-27T09:27:45.0188750Z Removing intermediate container b67e6e0c6729
2020-02-27T09:27:45.0189880Z ---> a603a224741a
2020-02-27T09:27:45.0190671Z Step 4/12 : LABEL homepage="http://github.com/netlify/actions/netlify"
2020-02-27T09:27:45.0386888Z ---> Running in dc10ec7b374d
2020-02-27T09:27:46.0175296Z Removing intermediate container dc10ec7b374d
2020-02-27T09:27:46.0175904Z ---> 1703f6e637ee
2020-02-27T09:27:46.0176555Z Step 5/12 : LABEL maintainer="Netlify"
2020-02-27T09:27:46.0350721Z ---> Running in b7ba4ace022a
2020-02-27T09:27:47.0176166Z Removing intermediate container b7ba4ace022a
2020-02-27T09:27:47.0205766Z ---> eb893780413d
2020-02-27T09:27:47.0206783Z Step 6/12 : LABEL "com.github.actions.name"="Netlify"
2020-02-27T09:27:47.0365520Z ---> Running in cedd4bd445b0
2020-02-27T09:27:48.0164802Z Removing intermediate container cedd4bd445b0
2020-02-27T09:27:48.0165299Z ---> adf049521ffb
2020-02-27T09:27:48.0165978Z Step 7/12 : LABEL "com.github.actions.description"="Wraps the Netlify CLI to enable common Netlify commands"
2020-02-27T09:27:48.0414478Z ---> Running in 3bf5748c914f
2020-02-27T09:27:49.0163835Z Removing intermediate container 3bf5748c914f
2020-02-27T09:27:49.0164587Z ---> a4611ac2f727
2020-02-27T09:27:49.0165080Z Step 8/12 : LABEL "com.github.actions.icon"="cloud"
2020-02-27T09:27:49.0327556Z ---> Running in f57cef99d621
2020-02-27T09:27:50.0175492Z Removing intermediate container f57cef99d621
2020-02-27T09:27:50.0186924Z ---> fe33decbba40
2020-02-27T09:27:50.0187875Z Step 9/12 : LABEL "com.github.actions.color"="blue"
2020-02-27T09:27:50.0343069Z ---> Running in c79886b4db86
2020-02-27T09:27:51.0163871Z Removing intermediate container c79886b4db86
2020-02-27T09:27:51.0164286Z ---> 2326ec2a3d3a
2020-02-27T09:27:51.0164755Z Step 10/12 : RUN yarn global add netlify-cli
2020-02-27T09:27:51.0335699Z ---> Running in 8c987fd9af81
2020-02-27T09:27:55.3703326Z yarn global v1.21.1
2020-02-27T09:27:55.4158168Z [1/4] Resolving packages...
2020-02-27T09:27:56.8573742Z �[91mwarning netlify-cli > @netlify/build > omit.js > babel-runtime > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-02-27T09:27:57.8749494Z �[0m[2/4] Fetching packages...
2020-02-27T09:28:07.5390446Z info fsevents@2.1.2: The platform "linux" is incompatible with this module.
2020-02-27T09:28:07.5391045Z info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
2020-02-27T09:28:07.5412616Z �[91merror @netlify/open-api@0.13.0: The engine "node" is incompatible with this module. Expected version "12". Got "10.19.0"
2020-02-27T09:28:07.5518105Z �[0m�[91merror Found incompatible module.
2020-02-27T09:28:07.5518714Z �[0minfo Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
2020-02-27T09:28:11.8706313Z The command '/bin/sh -c yarn global add netlify-cli' returned a non-zero code: 1
2020-02-27T09:28:11.8728946Z ##[warning]Docker build failed with exit code 1, back off 4.715 seconds before retry.
2020-02-27T09:28:16.5875532Z ##[command]/usr/bin/docker build -t e87b52:7f24099057a4435c92e8bc3568ab62bb "/home/runner/work/_actions/netlify/actions/master/cli"
2020-02-27T09:28:16.6123856Z Sending build context to Docker daemon 4.608kB
2020-02-27T09:28:16.6124583Z
2020-02-27T09:28:16.6413216Z Step 1/12 : FROM node:10-alpine
2020-02-27T09:28:16.6414912Z ---> 29fc59abc5de
2020-02-27T09:28:16.6416556Z Step 2/12 : LABEL version="1.0.0"
2020-02-27T09:28:16.6417949Z ---> Using cache
2020-02-27T09:28:16.6419285Z ---> a4610cfe05ca
2020-02-27T09:28:16.6421900Z Step 3/12 : LABEL repository="http://github.com/netlify/actions"
2020-02-27T09:28:16.6423616Z ---> Using cache
2020-02-27T09:28:16.6425039Z ---> a603a224741a
2020-02-27T09:28:16.6426600Z Step 4/12 : LABEL homepage="http://github.com/netlify/actions/netlify"
2020-02-27T09:28:16.6428010Z ---> Using cache
2020-02-27T09:28:16.6429337Z ---> 1703f6e637ee
2020-02-27T09:28:16.6431045Z Step 5/12 : LABEL maintainer="Netlify"
2020-02-27T09:28:16.6432685Z ---> Using cache
2020-02-27T09:28:16.6434150Z ---> eb893780413d
2020-02-27T09:28:16.6435612Z Step 6/12 : LABEL "com.github.actions.name"="Netlify"
2020-02-27T09:28:16.6437408Z ---> Using cache
2020-02-27T09:28:16.6569575Z ---> adf049521ffb
2020-02-27T09:28:16.6745867Z Step 7/12 : LABEL "com.github.actions.description"="Wraps the Netlify CLI to enable common Netlify commands"
2020-02-27T09:28:16.6746635Z ---> Using cache
2020-02-27T09:28:16.6759171Z ---> a4611ac2f727
2020-02-27T09:28:16.6764660Z Step 8/12 : LABEL "com.github.actions.icon"="cloud"
2020-02-27T09:28:16.6765222Z ---> Using cache
2020-02-27T09:28:16.6765577Z ---> fe33decbba40
2020-02-27T09:28:16.6765915Z Step 9/12 : LABEL "com.github.actions.color"="blue"
2020-02-27T09:28:16.6766249Z ---> Using cache
2020-02-27T09:28:16.6766549Z ---> 2326ec2a3d3a
2020-02-27T09:28:16.6766895Z Step 10/12 : RUN yarn global add netlify-cli
2020-02-27T09:28:16.6767226Z ---> Running in 70c173661670
2020-02-27T09:28:17.0879669Z yarn global v1.21.1
2020-02-27T09:28:17.1365191Z [1/4] Resolving packages...
2020-02-27T09:28:18.3837728Z �[91mwarning netlify-cli > @netlify/build > omit.js > babel-runtime > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-02-27T09:28:19.3927733Z �[0m[2/4] Fetching packages...
2020-02-27T09:28:28.8151437Z info fsevents@2.1.2: The platform "linux" is incompatible with this module.
2020-02-27T09:28:28.8151925Z info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
2020-02-27T09:28:28.8184777Z �[91merror @netlify/open-api@0.13.0: The engine "node" is incompatible with this module. Expected version "12". Got "10.19.0"
2020-02-27T09:28:28.8285820Z �[0minfo Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
2020-02-27T09:28:28.8286262Z �[91merror Found incompatible module.
2020-02-27T09:28:33.1208461Z The command '/bin/sh -c yarn global add netlify-cli' returned a non-zero code: 1
2020-02-27T09:28:33.1222101Z �[0m
2020-02-27T09:28:33.1226830Z ##[warning]Docker build failed with exit code 1, back off 8.236 seconds before retry.
2020-02-27T09:28:41.3562457Z ##[command]/usr/bin/docker build -t e87b52:7f24099057a4435c92e8bc3568ab62bb "/home/runner/work/_actions/netlify/actions/master/cli"
2020-02-27T09:28:41.3977236Z Sending build context to Docker daemon 4.608kB
2020-02-27T09:28:41.3980079Z
2020-02-27T09:28:41.4275514Z Step 1/12 : FROM node:10-alpine
2020-02-27T09:28:41.4277556Z ---> 29fc59abc5de
2020-02-27T09:28:41.4279145Z Step 2/12 : LABEL version="1.0.0"
2020-02-27T09:28:41.4280671Z ---> Using cache
2020-02-27T09:28:41.4281916Z ---> a4610cfe05ca
2020-02-27T09:28:41.4283438Z Step 3/12 : LABEL repository="http://github.com/netlify/actions"
2020-02-27T09:28:41.4285132Z ---> Using cache
2020-02-27T09:28:41.4286387Z ---> a603a224741a
2020-02-27T09:28:41.4287748Z Step 4/12 : LABEL homepage="http://github.com/netlify/actions/netlify"
2020-02-27T09:28:41.4289312Z ---> Using cache
2020-02-27T09:28:41.4290567Z ---> 1703f6e637ee
2020-02-27T09:28:41.4292138Z Step 5/12 : LABEL maintainer="Netlify"
2020-02-27T09:28:41.4298746Z ---> Using cache
2020-02-27T09:28:41.4300227Z ---> eb893780413d
2020-02-27T09:28:41.4301714Z Step 6/12 : LABEL "com.github.actions.name"="Netlify"
2020-02-27T09:28:41.4302996Z ---> Using cache
2020-02-27T09:28:41.4304204Z ---> adf049521ffb
2020-02-27T09:28:41.4305704Z Step 7/12 : LABEL "com.github.actions.description"="Wraps the Netlify CLI to enable common Netlify commands"
2020-02-27T09:28:41.4310592Z ---> Using cache
2020-02-27T09:28:41.4313744Z ---> a4611ac2f727
2020-02-27T09:28:41.4371485Z Step 8/12 : LABEL "com.github.actions.icon"="cloud"
2020-02-27T09:28:41.4385554Z ---> Using cache
2020-02-27T09:28:41.4385920Z ---> fe33decbba40
2020-02-27T09:28:41.4401082Z Step 9/12 : LABEL "com.github.actions.color"="blue"
2020-02-27T09:28:41.4401628Z ---> Using cache
2020-02-27T09:28:41.4402096Z ---> 2326ec2a3d3a
2020-02-27T09:28:41.4402519Z Step 10/12 : RUN yarn global add netlify-cli
2020-02-27T09:28:41.4466187Z ---> Running in 651a515bd7df
2020-02-27T09:28:41.8585553Z yarn global v1.21.1
2020-02-27T09:28:41.9020341Z [1/4] Resolving packages...
2020-02-27T09:28:43.1924971Z �[91mwarning netlify-cli > @netlify/build > omit.js > babel-runtime > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-02-27T09:28:44.3866287Z �[0m[2/4] Fetching packages...
2020-02-27T09:28:53.6723397Z info fsevents@2.1.2: The platform "linux" is incompatible with this module.
2020-02-27T09:28:53.6723923Z info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
2020-02-27T09:28:53.6746577Z �[91merror @netlify/open-api@0.13.0: The engine "node" is incompatible with this module. Expected version "12". Got "10.19.0"
2020-02-27T09:28:53.6845975Z �[0m�[91merror Found incompatible module.
2020-02-27T09:28:53.6846411Z �[0minfo Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
2020-02-27T09:28:57.9797379Z The command '/bin/sh -c yarn global add netlify-cli' returned a non-zero code: 1
2020-02-27T09:28:57.9903098Z ##[error]Docker build failed with exit code 1
2020-02-27T09:28:58.0183777Z Cleaning up orphan processes
inwardmovement commented
Same here.
log
error @netlify/open-api@0.13.0: The engine "node" is incompatible with this module. Expected version "12". Got "10.19.0"
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
error Found incompatible module.
The command '/bin/sh -c yarn global add netlify-cli' returned a non-zero code: 1
##[error]Docker build failed with exit code 1
fzipi commented
Same here.
inwardmovement commented
It is fixed for me with the new release of netlify/open-api, thanks!
mikri commented
Same here. Thank you!