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
ENOENT: no such file or directory, copyfile #4997
Comments
Facing the same issue on MacOs, pruning & deleting node modules folder does not help either.
|
Is it consistently happening with |
Completely wiped out pnpm & installed it via corepack this time, upgraded to 7.5.0 using If by remove the store completely you mean Or is there a better way to completely remove the store? |
OK, that is good. Then probably someone with a mac can investigate this. |
I got the same issue when install Reproduce:pnpm init
pnpm add sharp Logs:
Environment:
|
I can't reproduce this issue on Windows. |
I removed all the global packages of |
We are seeing this same issue but can't reproduce locally, it only happens in our Github action using a linux runner. I have tried removing node-modules and pruning store before doing pnpm install and still same issue. |
I am seeing this also on a built module (kerberos). I prune regularly, which I suspect could be related. Any way for me to force it to reinstall one module? |
I have the same issue on MacOS, any fixes? |
FWIW, I ran into this with Sharp on OSX as well. Hadn't had any problems and then I couldn't stop the issue. Upgraded from 7.6.0 -> 7.9.0, did a Not sure why this started happening as nothing had changed on my side deps-wise or version wise to cause the issue. Very odd. |
im having this issue when running pnp install inside a container as well. the errors are not consistently in one package. the store is on the same mounted drive. what i noticed is that for the erroring files there exists a file with different umask:
for this example
|
I ran into this issue. My solution:
Then it works. |
I ran into this issue after pnpm: ENOENT: no such file or directory, copyfile not sure if this is related to nodemon |
ran into this on Mac Silicon after fixed by removing the store folder with |
Yep, i ran |
the issue still persists and is only fixable by forfeiting the advantage of linking by forcing hardcopies. |
I am having the same issue. |
I also have seen this issue now twice on Linux. So it's not only MacOS. |
I can reproduce this error if I set As a temporary workaround, adding hints to the error message sounds good. |
I think I ran into this because I ran a prune on the store the other day. I haven't had time to verify, but that's what I suspect. |
It's work! This #4997 (comment) can work as well ! Thanks all |
I ran into this by(in a pnpm monorepo): rm -rf node_modules
pnpm store prune
pnpm i env: apple m2, macOS 13.0 |
Yeah, this one! |
|
Happens to me too. After running pnpm store status
ENOENT ENOENT: no such file or directory, open '/Users/hwong/Library/pnpm/store/v3/files/e4/64fe91cb365951a356cefe6e86ad68290ee45834cb89028f3901e5b022a7b1f88df9ce4b7740e8a3e2c30f56d4e10a4ca7807145617591af808eb93979949f-index.json'
``` |
This happened to me as well as I think it was caused by me playing arround with |
Hey @zkochan , what's happening in my situation might help you to debug further, here it goes:
CI STAGES
WORKAROUNDS So far, I was able to work around this with 2 different "solutions":
Does anything else comes to mind, or do you see any type of "conflicts" with the current setup? |
I think I understand how the store can become corrupted by
OK, I understand why it happens! It happens with packages that have side-effects cache. We don't verify the integrity of the files from the side-effects cache. |
This is still happening with the latest version of 7.29.0. Same as @pffigueiredo above. Created a new issue as this issue is now closed - #6187 |
This is happening on patches now only on CI but the machine is not ephemeral and could have multiple installations on it
|
Also having this issue after upgrading to v7. I have no idea how to reproduce it though... it works again by nuking the whole store and re-downloading everything.
This is in MacOS by the way.
Originally posted by @rdsedmundo in #3229 (comment)
The text was updated successfully, but these errors were encountered: