Skip to content

Commit

Permalink
fix: EPERM error in the store
Browse files Browse the repository at this point in the history
close #7213
  • Loading branch information
zkochan committed Dec 24, 2023
1 parent 619e9ed commit 8c8459a
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 27 deletions.
5 changes: 5 additions & 0 deletions .changeset/khaki-wombats-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"pnpm": patch
---

Fix EPERM error that occasionally happened on Windows during renames in the store [#7213](https://github.com/pnpm/pnpm/issues/7213).
10 changes: 10 additions & 0 deletions .changeset/lemon-mails-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@pnpm/make-dedicated-lockfile": patch
"@pnpm/resolve-dependencies": patch
"@pnpm/fs.indexed-pkg-importer": patch
"@pnpm/npm-resolver": patch
"@pnpm/node.fetcher": patch
"@pnpm/store.cafs": patch
---

Update rename-overwrite to v5.
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"endregion",
"eneedauth",
"enten",
"eperm",
"etamponi",
"exdev",
"execa",
Expand Down
2 changes: 1 addition & 1 deletion env/node.fetcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@pnpm/tarball-fetcher": "workspace:*",
"adm-zip": "^0.5.10",
"detect-libc": "^2.0.2",
"rename-overwrite": "^4.0.4",
"rename-overwrite": "^5.0.0",
"tempy": "^1.0.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions fs/indexed-pkg-importer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"@pnpm/core-loggers": "workspace:*",
"@pnpm/graceful-fs": "workspace:*",
"@pnpm/store-controller-types": "workspace:*",
"@reflink/reflink": "0.1.15",
"@zkochan/rimraf": "^2.1.3",
"fs-extra": "^11.1.1",
"make-empty-dir": "^2.1.0",
"p-limit": "^3.1.0",
"path-exists": "^4.0.0",
"path-temp": "^2.1.0",
"@reflink/reflink": "0.1.15",
"rename-overwrite": "^4.0.4",
"rename-overwrite": "^5.0.0",
"sanitize-filename": "^1.6.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/make-dedicated-lockfile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@pnpm/read-project-manifest": "workspace:*",
"@pnpm/types": "workspace:*",
"ramda": "npm:@pnpm/ramda@0.28.1",
"rename-overwrite": "^4.0.4"
"rename-overwrite": "^5.0.0"
},
"funding": "https://opencollective.com/pnpm",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion pkg-manager/resolve-dependencies/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"path-exists": "^4.0.0",
"promise-share": "^1.0.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"rename-overwrite": "^4.0.4",
"rename-overwrite": "^5.0.0",
"safe-promise-defer": "^1.0.1",
"semver": "^7.5.4",
"semver-range-intersect": "^0.3.1",
Expand Down
48 changes: 28 additions & 20 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resolving/npm-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"parse-npm-tarball-url": "^3.0.0",
"path-temp": "^2.1.0",
"ramda": "npm:@pnpm/ramda@0.28.1",
"rename-overwrite": "^4.0.4",
"rename-overwrite": "^5.0.0",
"semver": "^7.5.4",
"ssri": "10.0.5",
"version-selector-type": "^3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion store/cafs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@zkochan/rimraf": "^2.1.3",
"is-gzip": "2.0.0",
"p-limit": "^3.1.0",
"rename-overwrite": "^4.0.4",
"rename-overwrite": "^5.0.0",
"ssri": "10.0.5",
"strip-bom": "^4.0.0"
},
Expand Down

0 comments on commit 8c8459a

Please sign in to comment.