pnpm-lock.yaml is no longer updated
See original GitHub issueDescribe the bug
See CI Job The command is executed but the updated lock file was not committed https://github.com/wundergraph/wundergraph/commit/b9dea13cbaa4cf33c9d7d2af48ca71bad8723f24
Expectation
I miss the line
git add -- packages/sdk/package.json packages/sdk/CHANGELOG.md packages/nextjs/package.json packages/nextjs/CHANGELOG.md pnpm-lock.yaml
Reproduction
No idea
Lerna config and logs
lerna.json
<!-- Please paste your `lerna.json` here -->
lerna-debug.log
<!-- If you have a `lerna-debug.log` available, please paste it here -->
<!-- Otherwise, feel free to delete this <details> block -->
Environment Info
| Executable | Version |
| ----------------- | ------- |
| `lerna --version` | 1.5.1 |
| `npm --version` | VERSION |
| `yarn --version` | VERSION |
| `node --version` | VERSION |
---
OR simply run `npx lerna info` command and copy+paste the result here
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the docs.
- Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
regression with version 7.4.0, it no longer update pnpm-lock ...
regression with version 7.4.0, it no longer update pnpm-lock.yaml in CI due to recent PR to exit early on lockfile-only #4951.
Read more >pnpm install
When used, only updates pnpm-lock.yaml and package.json . Nothing gets written to the node_modules directory. --fix-lockfile. Fix broken lockfile ...
Read more >pnpm installations cause pnpm-lock.yaml file to update each ...
I have a pnpm monorepo, and I'm trying to bring my project to a state where my pnpm install command doesn't update the...
Read more >Migrating to rules_js - Aspect's Bazel Documentation
There are more migration steps needed, this guide is still a work-in-progress. ... The new pnpm-lock.yaml file needs to be updated by engineers...
Read more >pnpm - npm
Latest version: 7.20.0, last published: a day ago. ... Has a lockfile called pnpm-lock.yaml . ... Let people know with a tweet ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
release quick fix under v1.6.0 even though pnpm is expected to release a fix for the regression within the next day. Also note that pnpm maintainer gave me another alternative instead of the fix lock which I’m now using
pnpm install --lockfile-only --no-frozen-lockfile
. I might revert/remove this no frozen flag in the short future after pnpm release their new version.ok so it seems to fail only in CI mode so far, by the way to make it clear the quick fix is to use
pnpm install --lockfile-only --fix-lockfile
so it’s now 2 flags instead of just 1, I think I didn’t explain well earlier.