Closed beerlington closed 2 years ago
I'm experiencing this issue now. It never happened before. #56 Unpinning nodejs buildpack version may probably solve the issue.
cc @hone @Dhaulagiri
Just hit this now for the first time too. Pinning yarn as mentioned in the OP fix is working for me in the meantime
@Subtletree @musaffa @beerlington I merged #56, can you try again and let me know if it's working for you? Thanks
Actually hold up, we need someone to rebuild the toolchain since mrb is a compiled language. I'll update when we've done that.
@fivetanley Any updates on this? We're blocked on all development and deployment.
@dja For a short term solution, pin the exact yarn version you're using in the package.json's engines attribute. Don't use any semver symbol like ^, ~.
@fivetanley @hone would it be possible to get a new release for this?
reopening this... without @hone's help i'm not sure we'll be able to get a new release out. since the buildpack is written in mruby it requires a compilation and upload step which no longer seems to work out of the box with the docker setup.
I believe we've been hit by this today but because of a new nodejs version 12.18.3
:
-----> Fetching buildpack heroku/nodejs-v98
-----> Node.js detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NPM_CONFIG_PRODUCTION=false
NODE_ENV=production
NODE_MODULES_CACHE=true
NODE_VERBOSE=false
-----> Installing binaries
engines.node (package.json): 12.*
engines.npm (package.json): unspecified (use default)
Resolving node version 12.* via semver.io...
Downloading and installing node 12.18.3...
Unable to download node 12.18.3; does it exist?
-----> Build failed
The buildpack still references nodejs-v98
, despite PR https://github.com/heroku/heroku-buildpack-emberjs/pull/56 beeing merged.
A new build + upload of this buildpack would be great.
@bartocc can you clear your build cache? https://help.heroku.com/18PI5RSY/how-do-i-clear-the-build-cache
@bartocc can you clear your build cache? https://help.heroku.com/18PI5RSY/how-do-i-clear-the-build-cache
We're running into the same issue with nodejs 12.18.3. We cleared the build cache but are still fetching buildpack heroku/nodejs-v98
hi @danielleadams , clearing the cache unfortunately did not work.
Here is the line building the URL to download on buildpack heroku/nodejs-v98
: https://github.com/heroku/heroku-buildpack-nodejs/blob/v98/lib/binaries.sh#L47. And the URL it should build is https://s3pository.heroku.com/node/v12.18.3/node-v12.18.3-linux-x64.tar.gz, which actually exists…
So I do not understand why this builds are failing…
@flexyford Have you found a solution to this?
@flexyford Have you found a solution to this?
@bartocc we have no found a proper solution yet, but you could always tie down your node version in package.json
similar to what was proposed in https://github.com/heroku/heroku-buildpack-emberjs/issues/47#issuecomment-500689864
"engines": {
"node": "12.18.2"
},
@flexyford Have you found a solution to this?
@bartocc we have no found a proper solution yet, but you could always tie down your node version in
package.json
similar to what was proposed in #47 (comment)"engines": { "node": "12.18.2" },
We did do that indeed, but it did not solve the issue 🤦♂️
@bartocc really? Is it the same error message? You might also try specifying a range that ignores 12.18.3
...
"engines": {
"node": "12.x <12.18.3 || 12.x >12.18.3",
},
ok, I just realized that I made a typo and specified 12.8.2
instead of 12.18.2
🤦♂️
See https://github.com/heroku/heroku-buildpack-emberjs/issues/61 for the node issue.
@flexyford I got the same issue after pinning my versions
"engines": {
"node": "12.13.1",
"npm": "6.12.1",
"yarn": "1.4.1"
},
@bartocc did it work for you?
This buildpack has been deprecated (c06c1e31291c24f71e8d84225727887506c3c897), and it's also no longer possible for changes to be made to it, due to the issues mentioned in #61.
I'm getting an error when trying to deploy now:
I took me a while to track down the issue on a related repo - https://github.com/heroku/heroku-buildpack-nodejs/issues/523
... with the fix being what was changed in https://github.com/artsy/metaphysics/pull/945/files
I figured I'd post this here since other people might run into this issue and not know where to look if they're only using this build pack.