question-mark
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 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

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
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.

1reaction
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found