-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
Environment
- Platform: Mac m4 pro/ github actions pipeline
- Docker Version: 28.3.3/ 28.0.4
- Node.js Version: 24.11.1
- Image Tag:
Expected Behavior
npm ci should run properly in the container as it were working in node 24.11.0
Current Behavior
I get this error
#14 3.458 npm error code EUSAGE
#14 3.462 npm error
#14 3.462 npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
#14 3.462 npm error
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
#14 3.462 npm error Missing: @esbuild/[email protected] from lock file
even though the build works normally in 24.11.0
Possible Solution
As a workaround, I rollbacked to 24.11.0 and it works properly
Additional Information
I just want to understand how the error only shows on 24.11.1 if I had any missing dependencies in my package-lock.json file the error should be existing in 24.11.0 too if I'm not wrong?
Cpcrook
Metadata
Metadata
Assignees
Labels
No labels