kelektiv / node.bcrypt.js

bcrypt for NodeJs
MIT License
7.47k stars 516 forks source link

npm is not installiing the bcrypt #941

Closed GitAryanCode closed 2 years ago

GitAryanCode commented 2 years ago

npm WARN config global--global,--localare deprecated. Use--location=global` instead. npm ERR! code 1 npm ERR! path E:\HP-DRIVE\Learning\Coding\FullStack Devolopment Course\Web Apps\Auth & Security - Secrets App\node_modules\bcrypt npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build npm ERR! 'Security' is not recognized as an internal or external command, npm ERR! operable program or batch file. npm ERR! node:internal/modules/cjs/loader:936 npm ERR! throw err; npm ERR! ^ npm ERR! npm ERR! Error: Cannot find module 'E:\HP-DRIVE\Learning\Coding\FullStack Devolopment Course\Web Apps\node-pre-gyp\bin\node-pre-gyp' npm ERR! at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:778:27) npm ERR! at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) npm ERR! at node:internal/main/run_main_module:17:47 { npm ERR! code: 'MODULE_NOT_FOUND', npm ERR! requireStack: [] npm ERR! }

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\krish\AppData\Local\npm-cache_logs\2022-06-23T13_52_53_797Z-debug-0.log`

akashvpatel commented 2 years ago

If you are still stuck in this problem, maybe this solution can help you.

E:\HP-DRIVE\Learning\Coding\FullStack Devolopment Course\Web Apps\Auth & Security - Secrets App\node_modules\bcrypt

from above directory remove "&" tag from the name (Auth & Security-Secrets App)

GitAryanCode commented 2 years ago

Thank you for your response, but I have fixed the problem with removing it before. But again thank you for your support.

On Tue, Jul 19, 2022, 3:15 PM akash patel, @.***> wrote:

If you are still stuck in this problem, maybe this solution can help you.

E:\HP-DRIVE\Learning\Coding\FullStack Devolopment Course\Web Apps\Auth & Security - Secrets App\node_modules\bcrypt

from above directory remove "&" tag from the name (Auth & Security-Secrets App)

— Reply to this email directly, view it on GitHub https://github.com/kelektiv/node.bcrypt.js/issues/941#issuecomment-1189459601, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYN3RKJFJPYS4KQWGLYPUPLVU35FJANCNFSM5ZUOPQUA . You are receiving this because you authored the thread.Message ID: @.***>

recrsn commented 2 years ago

Tracking it here: https://github.com/kelektiv/node.bcrypt.js/issues/961