ECR example fails

Hi,

I’m following this example to deploy to aws ecr. https://learn.hashicorp.com/tutorials/waypoint/aws-ecs?in=waypoint/deploy-aws

However when i do a waypoint up i get an error from buildpacks:

│ [detector] ======== Output: heroku/nodejs-npm@0.2.0 ========
│ [detector] /cnb/buildpacks/heroku_nodejs-npm/0.2.0/bin/detect: line 11: /cnb/bui
│ ldpacks/heroku_nodejs-npm/0.2.0/lib/detect.sh: Permission denied
│ [detector] ======== Output: heroku/nodejs-typescript@0.0.2 ========
│ [detector] /cnb/buildpacks/heroku_nodejs-typescript/0.0.2/bin/detect: line 10: /
│ cnb/buildpacks/heroku_nodejs-typescript/0.0.2/lib/detect.sh: Permission denied
│ [detector] err: heroku/nodejs-engine@0.4.4 (1)
│ [detector] err: heroku/nodejs-npm@0.2.0 (1)
│ [detector] err: heroku/nodejs-typescript@0.0.2 (1)
│ [detector] ERROR: No buildpack groups passed detection.
│ [detector] ERROR: failed to detect: buildpack(s) failed with err
! failed with status code: 101

same for the kubernetes tutorial:

[detector] err: heroku/nodejs-engine@0.4.4 (1)
│ [detector] err: heroku/nodejs-npm@0.2.0 (1)
│ [detector] err: heroku/nodejs-typescript@0.0.2 (1)
│ [detector] ERROR: No buildpack groups passed detection.
│ [detector] ERROR: failed to detect: buildpack(s) failed with err
! failed with status code: 101

I had the same problem

It came from the docker’s storage driver :slightly_smiling_face:

I just had to switch from overlay to overlay2

Have a good day

1 Like