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
ERR_PNPM_INCLUDED_DEPS_CONFLICT
started occurring in 7.0.1
#4705
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This has nothing to do with peer dependencies. It's about running scripts in a different environment than they were installed with, leading to the error:
|
Sorry, I have misread that error code. I see, this should be fixed. This error shouldn't happen when a script is executed. |
Happening again in latest version of pnpm |
This one is happening to me as well in a pnpm monorepo: |
I have not encountered this since I reported it. |
I have just encountered this just now in a pnpm monorepo trying to run
|
I looked into the code for this, and it doesn't seem like there have been any changes in the file that contains the code for the error, so I'm very confused why it started erroring now.
It would at least be nice with an option to disable it as many workflows are blocked by it, such as webpack applications which need webpack installed (a
devDep
) and then build withNODE_ENV=production pnpm webpack
pnpm version: 7.0.1
Code to reproduce the issue:
NODE_ENV=development pnpm i
NODE_ENV=production pnpm [script]
Expected behavior:
In previous versions this worked
Actual behavior:
Errors with
ERR_PNPM_INCLUDED_DEPS_CONFLICT
.Additional information:
node -v
prints: 14.19.1The text was updated successfully, but these errors were encountered: