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)