Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pnpm-lock.yaml is no longer updated

See original GitHub issue

Describe the bug

See CI Job The command is executed but the updated lock file was not committed


I miss the line

 git add -- packages/sdk/package.json packages/sdk/ packages/nextjs/package.json packages/nextjs/ pnpm-lock.yaml


No idea

Lerna config and logs


<!-- Please paste your `lerna.json` here -->


<!-- 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



Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

ghiscodingcommented, Jun 30, 2022

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.

ghiscodingcommented, Jun 29, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found