Skip to content

The engine "node" is incompatible with this module. Expected version ">=14.16". Got "12.22.12" #60

Description

@daschuer

Our mixxx manual CI fails now because of

https://github.com/lydell/urix#deprecated
  [2/4] Fetching packages...
  error responselike@3.0.0: The engine "node" is incompatible with this module. Expected version ">=14.16". Got "12.22.12"
  error Found incompatible module.
  info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
  The command '/bin/sh -c yarn global add netlify-cli' returned a non-zero code: 1

Does anyone know how to fix that?

This is the failing run:
https://github.com/mixxxdj/manual/actions/runs/2987908818

Activity

  1. hrishikesh-k commented on Sep 4, 2022

    @hrishikesh-k
    Contributor
  2. daschuer commented on Sep 4, 2022

    @daschuer
    Author

    Thank you, I will give it a try.
    In the meantime I have used careflow/netlify-actions/cli@master which solves the issue as well.

  3. DarioRega commented on Sep 5, 2022

    @DarioRega

    Got the same issue, before it was working fine, right now every build fails

  4. daschuer commented on Sep 5, 2022

    @daschuer
    Author

    I can also confirm that #60 (comment)
    Is working well.

  5. soniCaH commented on Sep 5, 2022

    @soniCaH

    #60 (comment) does not work for me, getting error:

        npx netlify deploy --dir=public
        NETLIFY_AUTH_TOKEN: ***
        NETLIFY_SITE_ID: ***
    Error: Process completed with exit code 1.
    npm ERR! could not determine executable to run
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/runner/.npm/_logs/2022-09-05T09_11_16_414Z-debug-0.log
    
  6. asgerjensen commented on Sep 5, 2022

    @asgerjensen

    So, the Dockerfile just pulls "newest netlify" package, and one of its dependencies must have updated to depend on responselike 3.0.0.

    It has nothing to do with the node version of your project.

    Would probably be better to have some version pinning in place for the yarn command.

  7. dora-michal-adyen commented on Sep 5, 2022

    @dora-michal-adyen

    any updates on this? is not working for me either

    Thank you @daschuer.

    I would like to know if Netlify team is going to fix the original issue.

  8. asgerjensen commented on Sep 5, 2022

    @asgerjensen
  9. asgerjensen commented on Sep 6, 2022

    @asgerjensen

    Huh, weird. Replying by email stripped the values....

    anyways, this works for me:

        - name: Publish 
          id: publish
          uses: careflow/netlify-actions/cli@master
          with:
            args: deploy --dir=${{ inputs.path }} --json
          env:
            NETLIFY_SITE_ID: ${{ inputs.netlify-site-id }}
            NETLIFY_AUTH_TOKEN: ${{ inputs.netlify-token }}
    
  10. KirioXX commented on Sep 7, 2022

    @KirioXX

    We have the same problem and moving to careflow/netlify-actions/cli@master does not change it.
    Has someone a solution for the problem?
    In case it helps here is the full output of the Build netlify/actions/cli@master task:

    /usr/bin/docker build -t 786a9b:95baff00ab804ec6beb62c8d24a8b7fe -f "/home/runner/work/_actions/netlify/actions/master/cli/Dockerfile" "/home/runner/work/_actions/netlify/actions/master/cli"
      Sending build context to Docker daemon   5.12kB
      
      Step 1/12 : FROM node:12-alpine
       ---> bb6d28039b8c
      Step 2/12 : LABEL version="1.0.1"
       ---> Running in b018b729a691
      Removing intermediate container b018b729a691
       ---> 6dce3019eb20
      Step 3/12 : LABEL repository="http://github.com/netlify/actions"
       ---> Running in 9018a26fa5d5
      Removing intermediate container 9018a26fa5d5
       ---> d912307e98b4
      Step 4/12 : LABEL homepage="http://github.com/netlify/actions/netlify"
       ---> Running in 30007db124fe
      Removing intermediate container 30007db124fe
       ---> 856b93570a8f
      Step 5/12 : LABEL maintainer="Netlify"
       ---> Running in 091541039dab
      Removing intermediate container 091541039dab
       ---> 0a538a5b6609
      Step 6/12 : LABEL "com.github.actions.name"="Netlify"
       ---> Running in 0a49c4032aa4
      Removing intermediate container 0a49c4032aa4
       ---> 4c229bfc1b71
      Step 7/12 : LABEL "com.github.actions.description"="Wraps the Netlify CLI to enable common Netlify commands"
       ---> Running in 035fcf72e75f
      Removing intermediate container 035fcf72e75f
       ---> 8c82fdd39fd9
      Step 8/12 : LABEL "com.github.actions.icon"="cloud"
       ---> Running in bba896a18b3b
      Removing intermediate container bba896a18b3b
       ---> 444c124f8beb
      Step 9/12 : LABEL "com.github.actions.color"="blue"
       ---> Running in 27be1fe832be
      Removing intermediate container 27be1fe832be
       ---> 76c7f8fb6fc0
      Step 10/12 : RUN yarn global add netlify-cli
       ---> Running in 6345b5bdb062
      yarn global v1.22.18
      [1/4] Resolving packages...
      warning netlify-cli > @netlify/build > statsd-client@0.4.7: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
      warning netlify-cli > @netlify/build > got > @types/cacheable-request > @types/responselike@3.0.0: This is a stub types definition. responselike provides its own type definitions, so you do not need this installed.
      warning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
      warning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
      warning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
      warning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
      [2/4] Fetching packages...
      error responselike@3.0.0: The engine "node" is incompatible with this module. Expected version ">=14.16". Got "12.22.12"
      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
      
      Warning: Docker build failed with exit code 1, back off 7.865 seconds before retry.
      /usr/bin/docker build -t 786a9b:95baff00ab804ec6beb62c8d24a8b7fe -f "/home/runner/work/_actions/netlify/actions/master/cli/Dockerfile" "/home/runner/work/_actions/netlify/actions/master/cli"
      Sending build context to Docker daemon   5.12kB
      
      Step 1/12 : FROM node:12-alpine
       ---> bb6d28039b8c
      Step 2/12 : LABEL version="1.0.1"
       ---> Using cache
       ---> 6dce3019eb20
      Step 3/12 : LABEL repository="http://github.com/netlify/actions"
       ---> Using cache
       ---> d912307e98b4
      Step 4/12 : LABEL homepage="http://github.com/netlify/actions/netlify"
       ---> Using cache
       ---> 856b93570a8f
      Step 5/12 : LABEL maintainer="Netlify"
       ---> Using cache
       ---> 0a538a5b6609
      Step 6/12 : LABEL "com.github.actions.name"="Netlify"
       ---> Using cache
       ---> 4c229bfc1b71
      Step 7/12 : LABEL "com.github.actions.description"="Wraps the Netlify CLI to enable common Netlify commands"
       ---> Using cache
       ---> 8c82fdd39fd9
      Step 8/12 : LABEL "com.github.actions.icon"="cloud"
       ---> Using cache
       ---> 444c124f8beb
      Step 9/12 : LABEL "com.github.actions.color"="blue"
       ---> Using cache
       ---> 76c7f8fb6fc0
      Step 10/12 : RUN yarn global add netlify-cli
       ---> Running in 830d8892961f
      yarn global v1.22.18
      [1/4] Resolving packages...
      warning netlify-cli > @netlify/build > statsd-client@0.4.7: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
      warning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
      warning netlify-cli > @netlify/build > got > @types/cacheable-request > @types/responselike@3.0.0: This is a stub types definition. responselike provides its own type definitions, so you do not need this installed.
      warning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
      warning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
      warning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
      [2/4] Fetching packages...
      error responselike@3.0.0: The engine "node" is incompatible with this module. Expected version ">=14.16". Got "12.22.12"
      error Found incompatible module.
      info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
      The command '/bin/sh -c yarn global add netlify-cli' returned a non-zero code: 1
      Warning: Docker build failed with exit code 1, back off 6.56 seconds before retry.
      /usr/bin/docker build -t 786a9b:95baff00ab804ec6beb62c8d24a8b7fe -f "/home/runner/work/_actions/netlify/actions/master/cli/Dockerfile" "/home/runner/work/_actions/netlify/actions/master/cli"
      Sending build context to Docker daemon   5.12kB
      
      Step 1/12 : FROM node:12-alpine
       ---> bb6d28039b8c
      Step 2/12 : LABEL version="1.0.1"
       ---> Using cache
       ---> 6dce3019eb20
      Step 3/12 : LABEL repository="http://github.com/netlify/actions"
       ---> Using cache
       ---> d912307e98b4
      Step 4/12 : LABEL homepage="http://github.com/netlify/actions/netlify"
       ---> Using cache
       ---> 856b93570a8f
      Step 5/12 : LABEL maintainer="Netlify"
       ---> Using cache
       ---> 0a538a5b6609
      Step 6/12 : LABEL "com.github.actions.name"="Netlify"
       ---> Using cache
       ---> 4c229bfc1b71
      Step 7/12 : LABEL "com.github.actions.description"="Wraps the Netlify CLI to enable common Netlify commands"
       ---> Using cache
       ---> 8c82fdd39fd9
      Step 8/12 : LABEL "com.github.actions.icon"="cloud"
       ---> Using cache
       ---> 444c124f8beb
      Step 9/12 : LABEL "com.github.actions.color"="blue"
       ---> Using cache
       ---> 76c7f8fb6fc0
      Step 10/12 : RUN yarn global add netlify-cli
       ---> Running in bd26d79e5c4c
      yarn global v1.22.18
      [1/4] Resolving packages...
      warning netlify-cli > @netlify/build > statsd-client@0.4.7: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
      warning netlify-cli > @netlify/build > got > @types/cacheable-request > @types/responselike@3.0.0: This is a stub types definition. responselike provides its own type definitions, so you do not need this installed.
      warning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
      warning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
      warning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
      warning netlify-cli > copy-template-dir > readdirp > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
      [2/4] Fetching packages...
      error responselike@3.0.0: The engine "node" is incompatible with this module. Expected version ">=14.16". Got "12.22.12"
      error Found incompatible module.
      info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
      The command '/bin/sh -c yarn global add netlify-cli' returned a non-zero code: 1
    Error: Docker build failed with exit code 1
  11. asgerjensen commented on Sep 7, 2022

    @asgerjensen
  12. KirioXX commented on Sep 7, 2022

    @KirioXX

    Sorry, ignore me. The replacement works like a charm,
    I just didn't notice that there was a second use with netlify/actions/cli@master.
    Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions