Environment
Platform: Mac
Docker Version: Client v24.0.6
Node.js Version: v18.16.1 and v20.11.0
Image Tag: node:lts-alpine3.18
Expected Behavior
Update NPM to 10.3.0 at least or more precisely npmcli/run-script to 7.0.3
Current Behavior
There was an bug introduced in earlier versions of npmcli/run-script 6.0.2
Steps to Reproduce
Here is more information about the bug and the fix npm/run-script@089eefb