DEV Community

Moosazubairy
Moosazubairy

Posted on

Unable to download BcryptJS even through --force flag

I am trying to download Bcrypt but it is giving error. Even though I have removed and installed again using --force package but it's still not downloading. I have also tried rebuilding of this package.

You can see the error below.

npm ERR! code EEXIST
npm ERR! path C:\Users\hp\Downloads\e-people\epeople-master\node_modules.bin\mocha
npm ERR! Refusing to delete C:\Users\hp\Downloads\e-people\epeople-master\node_modules.bin\mocha: is outside C:\Users\hp\Downloads\e-people\epeople-master\node_modules\mocha and not a link
npm ERR! File exists: C:\Users\hp\Downloads\e-people\epeople-master\node_modules.bin\mocha
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series