Skip to content
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

The engine "node" is incompatible with this module. Expected version ">= 18". Got "16.19.1" #38

Open
ben0222 opened this issue Mar 7, 2024 · 1 comment

Comments

@ben0222
Copy link

ben0222 commented Mar 7, 2024

Describe the bug

The engine "node" is incompatible with this module. Expected version ">= 18". Got "16.19.1"

Reproduce
deploy-docs.yml

name: Build and Deploy
on: [push]
jobs:
  build-and-deploy:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout
      uses: actions/checkout@master

    - name: Vuepress deploy
      uses: jenkey2011/vuepress-deploy@master
      env:
        ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
        # TARGET_REPO: username/repo not nesessary
        TARGET_BRANCH: gh-pages
        BUILD_SCRIPT: yarn && yarn build
        BUILD_DIR: blog/.vuepress/dist/

Expected behavior

Node version >=18

Screenshots

Snipaste_2024-03-07_22-29-26

Additional Comments

Could you update the node version? Thanks!

@mahula
Copy link

mahula commented Apr 6, 2024

Hello @ben0222,
we were also faced with WARN EBADENGINE Unsupported engine warnings related to the Docker image's Node version v16.19.1 while our projects' dependencies require higher versions.
Since this repo des not seem to be maintained anymore, we forked it and updated the Github Action's docker file node version to 20.12.1, which meets our requirements. We will continue to maintain int to keep this action current and useful
You can find it here.
Please give it a try and give feedback, how it works for your projects.
Kind regards,
@mahula from @IT4Change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants