-
-
Notifications
You must be signed in to change notification settings - Fork 936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No matter what I do, pnpm complains about the same missing file #7796
Comments
yeah, uninstall, reinstall, and now I get this:
I haven't changed the node version at all. Does pnpm just not work with nvm? Maybe that should be noted somewhere. |
I was able to resolve the initial error by just forcing pnpm to use a different directory (pnpm config set store-dir /path/to/.pnpm-store) - but there are issues here:
|
I met the same case
macOS: 14.4 (23E214) I tried |
The Node version issue was probably fixed by #7801 For the other issue with |
My ultimate solution is this: Remove all I don't know why, when after glob remove, I've checked every directory, I can make sure there's no I think it's caused by caching, when after |
It's challenging to create a reproduction for this, since I'm not entirely sure what causes it. I just know that when it gets in to that state, the move is to either uninstall and reinstall pnpm, or to create a new store somewhere new. I do recall I never had this trouble before trying to use nvm (I generally use pnpm for version switching, because it's about a billion times faster than nvm), which I only needed for very very old version of node (12/14), on rare occasion. Removing nvm doesn't resolve it. Whatever nvm does, it messes things up for good. I don't say this with any confidence. |
Verify latest release
pnpm version
8.15.4
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
I have no idea how to reproduce it, but I tried dozens of ways to re-install this,a nd there just doesn't seem to be a simple way to say "don't use that directory" - or "reset all the settings to default/empty"
The error (VERY opaque):
❯ pnpm i
Scope: all 3 workspace projects
Lockfile is up to date, resolution step is skipped
Already up to date
/Users/kevin.newman/repos/OHI/storybook:
ENOENT ENOENT: no such file or directory, open '/Users/kevin.newman/Library/pnpm/store/v3/files/14/98584680da89ab5f12450af072a589c9aeff7486143e75ab78ad2831a8493cac4090677ce7315391b19e113513ab2807be8c6d3d0c06d9ca26e5f2031fbde9-index.json'
I'm at a loss as to what to do here. This is not the first time I've had this error. Usually just re-installing pnpm (which I have to do frequently) solves this, but it's not working this time.
Describe the Bug
above
Expected Behavior
It should just work, without having to jump through hoops
Which Node.js version are you using?
20
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
The text was updated successfully, but these errors were encountered: