-
-
Notifications
You must be signed in to change notification settings - Fork 936
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
Unexpected interaction between --lockfile-only with --frozen-lockfile modifies the lockfile. #6962
Open
3 of 4 tasks
Labels
Comments
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 19, 2023
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 19, 2023
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 19, 2023
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 19, 2023
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 19, 2023
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 20, 2023
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 20, 2023
sorry about all the noise sapling is generating on this issue. |
Okay, I've confirmed that this works correctly ONLY when |
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 20, 2023
8.6.12 working as intended without
8.6.12 failing with
|
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 20, 2023
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 20, 2023
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 20, 2023
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 20, 2023
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 20, 2023
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 20, 2023
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 20, 2023
Zemnmez
added a commit
to zemn-me/monorepo
that referenced
this issue
Aug 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Verify latest release
pnpm version
8.7.0
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
npm exec pnpm@8.7.0 --yes i --frozen-lockfile --lockfile-only --dir .
Describe the Bug
This should have been fixed as per #6913
I note that ecad8a7 shows the commit as having landed in https://github.com/pnpm/pnpm/releases/tag/v8.7.0-0 and https://github.com/pnpm/pnpm/releases/tag/v8.6.12
I note that functionality is broken anytime --dir is provided (previously, I thought it was broken at a specific version.
At these versions, PNPM should be checking the lockfile and throwing an error if it's out of sync with package.json. However, it is simply updating the lockfile.
Expected Behavior
PNPM checks the lockfile is in sync with package.json, but does not update it or node_modules. PNPM returns a failure code.
Which Node.js version are you using?
v20.5.1
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Ubuntu
The text was updated successfully, but these errors were encountered: