2

UNKNOWN: unknown error, scandir 'E:\Sorted\Capstone\WOO-WOO.net\WOO-WOO.net\project\FrontEnd\frontendapp\node_modules\@babel\.helper-annotate-as-pure.DELETE'

I got this error and similar ones when running the commands npm update, npm audit fix, and npm install react-scripts --save in Git Bash.

I tried force cleaning the cache and get other errors when using npm start.

2
  • Is E:` a removable drive ? is it connected when you run npm update` ? Commented May 5, 2021 at 7:40
  • @LeGEC Yes E: is a removable drive and I always have it plugged in, I've had some issues with it disconnecting while it's plugged in but I think it was fine while running npm update. Commented May 5, 2021 at 18:40

1 Answer 1

2

If you're on Windows, run

chkdsk E: /f /x

You probably have corruption in removable drive E, specifically in that folder.

This command repairs errors in the drive, forcing it to unmount first if necessary.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.