You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Native dependencies
The Heroku CLI does not support native dependencies. They will break when we update the node version. Also, native dependencies typically require the use of node-gyp, which requires Python, and generally is likely to have problems compiling on all user environments, especially Windows.
I'm not sure how this can be true, as... like the entire ecosystem depends on this stuff.
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: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.
The text was updated successfully, but these errors were encountered: