kelektiv / node.bcrypt.js

bcrypt for NodeJs
MIT License
7.43k stars 510 forks source link

Installing encrypt@3.0.6 in windows 10 err #938

Closed Saheb2002 closed 1 year ago

Saheb2002 commented 2 years ago

npm i bcrypt@3.0.6 npm WARN config global --global, --local are deprecated. Use --location=global instead. npm WARN deprecated node-pre-gyp@0.12.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future npm WARN deprecated bcrypt@3.0.6: versions < v5.0.0 do not handle NUL in passwords properly npm ERR! code 1 npm ERR! path D:\@Abdullah's lessons\Amir Mohamad teacher\projects\32. Authentication & Security\Secrets - Starting Code\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! The system cannot find the path specified. npm ERR! node:internal/modules/cjs/loader:936 npm ERR! throw err; npm ERR! ^ npm ERR! npm ERR! Error: Cannot find module 'D:\@Abdullah's lessons\Amir Mohamad teacher\projects\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\kh\AppData\Local\npm-cache_logs\2022-06-17T06_49_39_088Z-debug-0.log