Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builds started breaking with node:23-alpine very recently; had to drop back to node:22-alpine #2166

Open
jonathanhle opened this issue Nov 20, 2024 · 2 comments

Comments

@jonathanhle
Copy link

jonathanhle commented Nov 20, 2024

Environment

  • Platform: Macbook M1 ARM
  • Docker Version:
Client:
 Version:           27.3.1
 API version:       1.47
 Go version:        go1.22.7
 Git commit:        ce12230
 Built:             Fri Sep 20 11:38:18 2024
 OS/Arch:           darwin/arm64
 Context:           desktop-linux

Server: Docker Desktop 4.36.0 (175267)
 Engine:
  Version:          27.3.1
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.22.7
  Git commit:       41ca978
  Built:            Fri Sep 20 11:41:19 2024
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.7.21
  GitCommit:        472731909fa34bd7bc9c087e4c27943f9835f111
 runc:
  Version:          1.1.13
  GitCommit:        v1.1.13-0-g58aa920
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
  • Node.js Version: What is in 23-alpine
  • Image Tag: 23-alpine

Expected Behavior

I've been using a Dockerfile pinned with node:23-alpine for a few weeks now and things were working fine.

Just the other day, however, my builds started failing with no changes on my side. I did find this new commit, which I think is the issue: bd5c1ad

Current Behavior

I now run into this when trying to compile in the container. It actually build fine locally on my Mac directly with the same version of node/npm.

I only run into this in the 23-alpine container at the latest commit. Things were working fine with 23-alpine on ENV NODE_VERSION 23.1.0

43.08 Failed to compile.
43.08 
43.08 Unexpected end of JSON input
43.08 
43.08 

Possible Solution

I was able to get past this dropping back to 22-alpine but that seems like I might be missing some features/fixes.

Steps to Reproduce

Additional Information

Would love any advice here.

@brandong954
Copy link

I'm also experiencing the exact same issues with 23.2.0. Falling back to 23.1.0 works.

@TakesTheBiscuit
Copy link

Alpine node builds seem broken across various versions at the moment, i dont know what's happened, very confusing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants