pnpm
pnpm copied to clipboard
ENOENT: no such file or directory, mkdir '/path'
pnpm version: 7.4.1
Code to reproduce the issue:
export PNPM_HOME="/Users/xxx/Library/pnpm"
export PATH="$PNPM_HOME:$PATH"
Expected behavior:
Actual behavior:
Additional information:
node -vprints: v16.13.0- Windows, macOS, or Linux?: macOS
Same error here ☝️
- Node:
v18.4.0 - pnpm:
7.5.0 - OS: MacOS Monterey
Same Error
Node: v16.6.0
pnpm: 7.6.0
I can't work on it now because I don't have a mac.
Not able to reproduce on my mac:

@zkochan FYI I am having the same issue on Windows 11. When I type 'pnpm i' or 'pnpm store path' or 'pnpm store prune' I always get this errror (with a different tmp file number):
ENOENT: no such file or directory, open 'C:\Users\sebas\Documents\heip-monorepo\_tmp_4580_fec72f06e7d137ca05b7e
Same Error
Node: v18.12.1 pnpm: 7.16.1
Windows, macOS, or Linux?: macOS13.0.1
Same Error
Node: v18.12.1 pnpm: 7.16.1
Windows, macOS, or Linux?: macOS13.0.1
After run pnpm config set store-dir ~/pnpm ,It works .
Same Error Node: v18.12.1 pnpm: 7.16.1 Windows, macOS, or Linux?: macOS13.0.1
After run
pnpm config set store-dir ~/pnpm,It works .
It worked here too, thanks.
After run pnpm config set store-dir ~/pnpm ,It works .
this also works for
Node: 18.6.0
pnpm: 8.6.12
macOS 14.0
Please check your PNPM configuration to see if the store-dir specifies the correct unknown location of the .pnpm-store
我是mac,windows同样,正常来说是主动或者被动修改了store-dir才会导致此问题