-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Error during pnpm install
in Dockerfile due to corepack signature verification failure
#1372
Comments
j'ai eu le même problème merci de mettre à jour le git avec la solution qui fonctionne et clore le problème Ligne modifiée :
|
Describe the bug
The following error occurs when executing the
RUN corepack enable pnpm && pnpm install
command within the Dockerfile.Link to the Bolt URL that caused the error
None (cuz it's still a build stage)
Steps to reproduce
RUN corepack enable pnpm && pnpm install
step.Expected behavior
pnpm install
should complete successfully, and the dependencies should be installed.Screen Recording / Screenshot
Platform
Provider Used
No response
Model Used
No response
Additional context
I was able to resolve the issue by changing line 9 in the Dockerfile.
Original line:
RUN corepack enable pnpm && pnpm install
Modified line:
RUN npm install -g pnpm && pnpm install
By replacing the original line with the modified line, which uses
npm install -g pnpm
instead ofcorepack enable pnpm
, the build process now completes successfully. The issue might be specifically related tocorepack
's handling ofpnpm
in this environment 🤔The text was updated successfully, but these errors were encountered: