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

Newer version of Node.js needed for updated dependencies #12

Open
jeffbyrnes opened this issue Feb 22, 2022 · 1 comment · May be fixed by #13
Open

Newer version of Node.js needed for updated dependencies #12

jeffbyrnes opened this issue Feb 22, 2022 · 1 comment · May be fixed by #13

Comments

@jeffbyrnes
Copy link

I’ve been keeping my Trellis project updated w/ its build dependencies, and lately have been running into this when trying to run the automated builds using this GH Action:

TASK [deploy : Install npm dependencies] ***************************************
[200](https://github.com/abundanthomesma/abundanthousingma.org/runs/5295466974?check_suite_focus=true#step:5:200)
  System info:
[201](https://github.com/abundanthomesma/abundanthousingma.org/runs/5295466974?check_suite_focus=true#step:5:201)
    Ansible 2.9.15; Linux
[202](https://github.com/abundanthomesma/abundanthousingma.org/runs/5295466974?check_suite_focus=true#step:5:202)
    Trellis 1.13.0: January 21st, 2022
[203](https://github.com/abundanthomesma/abundanthousingma.org/runs/5295466974?check_suite_focus=true#step:5:203)
  ---------------------------------------------------
[204](https://github.com/abundanthomesma/abundanthousingma.org/runs/5295466974?check_suite_focus=true#step:5:204)
  non-zero return code
[205](https://github.com/abundanthomesma/abundanthousingma.org/runs/5295466974?check_suite_focus=true#step:5:205)
  error eslint@8.7.0: The engine "node" is incompatible with this module.
[206](https://github.com/abundanthomesma/abundanthousingma.org/runs/5295466974?check_suite_focus=true#step:5:206)
  Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "12.21.0"
[207](https://github.com/abundanthomesma/abundanthousingma.org/runs/5295466974?check_suite_focus=true#step:5:207)
  error Found incompatible module.
[208](https://github.com/abundanthomesma/abundanthousingma.org/runs/5295466974?check_suite_focus=true#step:5:208)
  fatal: [production_host]: FAILED! => {"changed": true, "cmd": ["yarn"], "delta": "0:00:20.176259", "end": "2022-02-22 22:04:07.561252", "rc": 1, "start": "2022-02-22 22:03:47.384993", "stderr_lines": ["error eslint@8.7.0: The engine \"node\" is incompatible with this module. Expected version \"^12.22.0 || ^14.17.0 || >=16.0.0\". Got \"12.21.0\"", "error Found incompatible module."], "stdout": "yarn install v1.19.2\n[1/5] Validating package.json...\n[2/5] Resolving packages...\n[3/5] Fetching packages...\ninfo fsevents@2.3.2: The platform \"linux\" is incompatible with this module.\ninfo \"fsevents@2.3.2\" is an optional dependency and failed compatibility check. Excluding it from installation.\ninfo Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.", "stdout_lines": ["yarn install v1.19.2", "[1/5] Validating package.json...", "[2/5] Resolving packages...", "[3/5] Fetching packages...", "info fsevents@2.3.2: The platform \"linux\" is incompatible with this module.", "info \"fsevents@2.3.2\" is an optional dependency and failed compatibility check. Excluding it from installation.", "info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command."]}

Seems as though the version of Node that’s installed w/ the current latest image of this Action is v12.21.0. If it could be bumped to 12.22.x, or better yet >= 16.0.0, that’d be really appreciated!

@jkananen
Copy link

jkananen commented Mar 2, 2022

Also having this on a site with Sage 10 theme.

Sites with Sage 9 theme still deploy OK.

Ref to a similar earlier case: #11

@jeffbyrnes jeffbyrnes linked a pull request Mar 8, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants