Ed Morley
Ed Morley
(I've transferred this issue from https://github.com/heroku/cnb-builder-images to https://github.com/heroku/buildpacks-nodejs)
xref: https://community.fly.io/t/re-deploy-my-nodejs-app-and-sadly-got-crashed/18457
@joshwlewis @colincasey So I can reproduce this easily using the Node.js getting started guide, if I switch to a different user at runtime (that doesn't have write access to `/layer`)....
I don't think the logging is the root issue, the inability to write a cache is. It's just that when the original error occurs, NPM tries to create a log...
It looks like the default user change for Fly.io (that was what triggered this issue being opened) was unintentional, and was fixed in: https://github.com/superfly/flyctl/pull/3396 In addition, the NPM fix for...
I don't really understand the questions / where the confusion is? I'll try giving an overview and maybe that will help? (That said, part of the task for whomever works...
> That seems like a bit more than 512MB! For what it's worth, I think `dokku` setups return a similarly large value. I would be interested to hear if there...
The upstream CNB project is going to be releasing `lifecycle` 0.18.0 shortly. This new version drops support for the deprecated platform and buildpack API versions: https://github.com/buildpacks/lifecycle/pull/1218/files?short_path=b335630#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 This means any buildpack...
lifecycle 0.18.0 (that drops support for the Buildpack API version currently used by cnb-shim) is now out: https://github.com/buildpacks/lifecycle/releases/tag/v0.18.0
Noting here for completeness: The main `heroku/builder:*` Heroku CNB builder images were upgraded to lifecycle 0.18.0 in November 2023 (in https://github.com/heroku/cnb-builder-images/pull/431), since we couldn't wait any longer for cnb-shim to...