Open avnersch opened 3 years ago
I'm not 100% sure on what's going on, but I think this is linked to it.
Yesterday alpine v3.14 got released. https://alpinelinux.org/posts/Alpine-3.14.0-released.html
And I guess this might be the cause that nodejs-npm can't be found any more Found this in the changelog: https://gitlab.alpinelinux.org/alpine/aports/-/commit/25b10bd1a93e12a7e49fee38b0a229281ae49fb7
A possible quick fix might be to just use an older version of the alpine image:
e.g.
FROM alpine:3.13
Replacing "nodejs-npm" with "npm" also looks like a solution.
Replacing "nodejs-npm" with "npm" also looks like a solution.
You are right. I just tried it locally and it is able to build without any issues. And I guess this solution is cleaner than downgrading
Glad the fix is in! That was fast ⚡ Any guess on when that PR will be merged in?
My deployments are not working because of this. Any way to work around it while the PR is merged?
@Zerquix18 you can fork the project and change what @jeham suggested (start using your fork image (Zerquix18/aws-cdk-github-actions@master as an example) instead of this one). I did that while waiting the new change here because it was a blocker for the business.
The fix appears to work 👍
Using:
youyo/aws-cdk-github-actions@v2
, and running onubuntu-latest
. As of yesterday, seeing this error when trying to perform cdk diff: