Closed basickarl closed 3 months ago
How are you getting rimraf to raise an ENOENT
? That shouldn't be possible, when it encounters an ENOENT
it just returns successfully. Can you share some code to reproduce it?
Ah, I see you have been updating the package. Something is whack:
karl ~/development/neo/needle-3 [fix-playwright-install] $ npx --yes rimraf@5.0.5 .yarn/cache
karl ~/development/neo/needle-3 [fix-playwright-install] $ npx --yes rimraf .yarn/cache
sh: rimraf: command not found
First one works. second one crashes.
Probably you need to update your rimraf dep. what does npm ls rimraf
output?
I get this error when a directory doesn't exist that I am trying to remove. Would be good with a flag so that the command can skip this and go to the next file/directory in the list.
ENOENT: no such file or directory