Open chkpnt opened 1 month ago
I wonder if this is a bug or a timing issue, because testing node 18.15.0
on openjdk:11
(through docker with --platform linux/amd64
) seems to work on my machine
But it's strange that it works with the new image (and with both being multi-platform that rules out platform shenanigans) 🤔
I'm using the following
build.gradle.kts
:When running
spotlessCheck
in anopenjdk:11
-image, I'm getting the following error:149 gave me the correct hint that the image is the culprit. After moving to
eclipse-temurin:11-jdk
(the openjdk-images are anyways deprecated), everything works fine.But the issue doesn't seem to be related to musl, as
openjdk:11
is based on Debian 11.4.eclipse-temurin:11-jdk
is based on Ubuntu 24.04 and I haven't digged deeper, why I'm getting ‘node’: No such file or directory only on one system.But as it took me some time 'til I figured out that the environment is the issue, I suggest gradle-node-plugin to detect problematic environments (musl et al) and print a warning.