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
pnpm fetch way in CI does not work #6615
Comments
this is a pain |
I noticed this issue in Docker build with recent pnpm too, it failed when pnpm install packages with |
After checking the code, it looks like to happen when the registry setting is mismatched with the lockfile or, the included dependencies( --prod / --dev) is mismatched. |
I have the same issue. In my case, The relevant snippet of my logs:
|
This prompt is skipped if you use the |
Tip if anyone else comes across this; I took a look at the code and it appears that this only happens when pnpm/pkg-manager/get-context/src/index.ts Line 123 in 347ca9f
So I was able to get around this by simply setting CI=1 pnpm install <args> The solution above using |
FWIW, I face this issue when I use |
This just happend to me now. It stalls the vercel build to
Does not help. Tried also in the root package.json Didn't help either
|
Update: It's even happening with
|
|
I have the same issue, and using |
I followed the guide here https://pnpm.io/cli/fetch and it seems, that
pnpm install
does not create node_modules folder for apps/frontend. If I runpnpm install --frozen-lockfile --filter "chai-frontend-vue..."
locally (on my laptop), then everything works fine.pnpm version: 8.5.1
Code to reproduce the issue:
My Dockerfile:
Log:
Expected behavior:
pnpm install will install all the needed packages from virtual store
Actual behavior:
It says that it will install them
Scope: 4 of 10 workspace projects
but node_modules are missingAdditional information:
node -v
prints: 18.13.0-busterThe text was updated successfully, but these errors were encountered: