-
-
Notifications
You must be signed in to change notification settings - Fork 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
warnings appears always when using pnpm in a workspace with more than one subpackage #8320
Comments
I'm also getting this issue PNPM - 9.5.0 It does seem like just an erroneous message, Had a brief look at the code, and in pnpm/pkg-manager/core/src/install/index.ts Lines 1491 to 1494 in 5d05976
|
I can confirm the same issue on MacOs. I always have this warning. 🤔 |
me too, with [email protected], kinda confused. |
Same here. Although it is not a problem, it is very annoying. |
Same issue. It appears to be a health warning, but triggering hook scripts every time a new dependency is installed makes for a very poor experience. |
Verify latest release
pnpm version
v9.5.0, v9.6.0, v9.7.0, v9.9.0
Which area(s) of pnpm are affected? (leave empty if unsure)
Lockfile
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
Just create a monorepo with the structure below:
Use the following pnpm-workspace.yaml file under the root folder:
Install some dependencies to create the lockfile, then whether using
pnpm add
orpnpm up
, the warnings will appear.Describe the Bug
WARN `node_modules` is present. Lockfile only installation will make it out-of-date
Expected Behavior
Can this warning be ignored? If not, what should I do? If yes, why does the warning appear? Is this an intentional design behavior?
Which Node.js version are you using?
v20.11.1
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
The text was updated successfully, but these errors were encountered: