Skip to content

Deployment fails with node v18.18.0 #1017

@trflynn89

Description

@trflynn89

See 3c5e0ab

Node v18.18.0 includes an update to npm 9.7.2:
nodejs/node@4a6177d

That update removes the node-gyp executable. Without it, we get the following error when deploying the Heroku app:

Failed to auto-install node-gyp. Please run "yarn global add node-gyp" manually.

I'm not sure how do to the recommended step because this runs remotely in Heroku's servers (i.e. I don't think adding it as a step in the GitHub workflow will suffice).

For now, this has been worked around by limiting node to v18.17.1.

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