getting this error while installing bcrypt how to solve this

npm error code 1
npm error path C:UsersHPRepocloneHostelbackendnode_modulesbcrypt
npm error command failed
npm error command C:Windowssystem32cmd.exe /d /s /c node-pre-gyp install –fallback-to-build
npm error Failed to execute ‘C:Program Files (x86)nodejsnode.exe C:UsersHPAppDataRoamingnpmnode_modulesnpmnode_modulesnode-gypbinnode-gyp.js configure –fallback-to-build –module=C:UsersHPRepocloneHostelbackendnode_modulesbcryptlibbindingnapi-v3bcrypt_lib.node –module_name=bcrypt_lib –module_path=C:UsersHPRepocloneHostelbackendnode_modulesbcryptlibbindingnapi-v3 –napi_version=9 –node_abi_napi=napi –napi_build_version=3 –node_napi_label=napi-v3’ (1)
npm error node-pre-gyp info it worked if it ends with ok
npm error node-pre-gyp info using [email protected]
npm error node-pre-gyp info using [email protected] | win32 | ia32
npm error node-pre-gyp info check checked for “C:UsersHPRepocloneHostelbackendnode_modulesbcryptlibbindingnapi-v3bcrypt_lib.node” (not found)
npm error node-pre-gyp http GET https://github.com/kelektiv/node.bcrypt.js/releases/download/v5.1.1/bcrypt_lib-v5.1.1-napi-v3-win32-ia32-unknown.tar.gz
npm error node-pre-gyp ERR! install response status 404 Not Found on https://github.com/kelektiv/node.bcrypt.js/releases/download/v5.1.1/bcrypt_lib-v5.1.1-napi-v3-win32-ia32-unknown.tar.gz
npm error node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v115 ABI, unknown) (falling back to source compile with node-gyp)
npm error node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/kelektiv/node.bcrypt.js/releases/download/v5.1.1/bcrypt_lib-v5.1.1-napi-v3-win32-ia32-unknown.tar.gz
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | win32 | ia32
npm error gyp info ok
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | win32 | ia32
npm error gyp info find Python using Python version 3.12.3 found at “C:Program FilesPython312python.exe”
npm error gyp ERR! find VS
npm error gyp ERR! find VS msvs_version not set from command line or npm config
npm error gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm error gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with ‘–loglevel silly’ for more details.
npm error gyp ERR! find VS
npm error gyp ERR! find VS Failure details: undefined
npm error gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with ‘–loglevel silly’ for more details.
npm error gyp ERR! find VS
npm error gyp ERR! find VS Failure details: undefined
npm error gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with ‘–loglevel silly’ for more details.
npm error gyp ERR! find VS
npm error gyp ERR! find VS Failure details: undefined
npm error gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with ‘–loglevel silly’ for more details.
npm error gyp ERR! find VS
npm error gyp ERR! find VS Failure details: undefined
npm error gyp ERR! find VS not looking for VS2015 as it is only supported up to Node.js 18
npm error gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm error gyp ERR! find VS
npm error gyp ERR! find VS **************************************************************
npm error gyp ERR! find VS You need to install the latest version of Visual Studio
npm error gyp ERR! find VS including the “Desktop development with C++” workload.
npm error gyp ERR! find VS For more information consult the documentation at:
npm error gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
npm error gyp ERR! find VS **************************************************************
npm error gyp ERR! find VS
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: Could not find any Visual Studio installation to use
npm error gyp ERR! stack at VisualStudioFinder.fail (C:UsersHPAppDataRoamingnpmnode_modulesnpmnode_modulesnode-gyplibfind-visualstudio.js:116:11)
npm error gyp ERR! stack at VisualStudioFinder.findVisualStudio (C:UsersHPAppDataRoamingnpmnode_modulesnpmnode_modulesnode-gyplibfind-visualstudio.js:72:17)
npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm error gyp ERR! stack at async createBuildDir (C:UsersHPAppDataRoamingnpmnode_modulesnpmnode_modulesnode-gyplibconfigure.js:95:26)
npm error gyp ERR! stack at async run (C:UsersHPAppDataRoamingnpmnode_modulesnpmnode_modulesnode-gypbinnode-gyp.js:81:18)
npm error gyp ERR! System Windows_NT 10.0.22631
npm error gyp ERR! command “C:Program Files (x86)nodejsnode.exe” “C:UsersHPAppDataRoamingnpmnode_modulesnpmnode_modulesnode-gypbinnode-gyp.js” “configure” “–fallback-to-build” “–module=C:UsersHPRepocloneHostelbackendnode_modulesbcryptlibbindingnapi-v3bcrypt_lib.node” “–module_name=bcrypt_lib” “–module_path=C:UsersHPRepocloneHostelbackendnode_modulesbcryptlibbindingnapi-v3” “–napi_version=9” “–node_abi_napi=napi” “–napi_build_version=3” “–node_napi_label=napi-v3”
npm error gyp ERR! cwd C:UsersHPRepocloneHostelbackendnode_modulesbcrypt
npm error gyp ERR! node -v v20.11.1
npm error gyp ERR! node-gyp -v v10.1.0
npm error gyp ERR! not ok
npm error node-pre-gyp ERR! build error
npm error node-pre-gyp ERR! stack Error: Failed to execute ‘C:Program Files (x86)nodejsnode.exe C:UsersHPAppDataRoamingnpmnode_modulesnpmnode_modulesnode-gypbinnode-gyp.js configure –fallback-to-build –module=C:UsersHPRepocloneHostelbackendnode_modulesbcryptlibbindingnapi-v3bcrypt_lib.node –module_name=bcrypt_lib –module_path=C:UsersHPRepocloneHostelbackendnode_modulesbcryptlibbindingnapi-v3 –napi_version=9 –node_abi_napi=napi –napi_build_version=3 –node_napi_label=napi-v3’ (1)
npm error node-pre-gyp ERR! stack at ChildProcess. (C:UsersHPRepocloneHostelbackendnode_modules@mapboxnode-pre-gyplibutilcompile.js:89:23)
npm error node-pre-gyp ERR! stack at ChildProcess.emit (node:events:518:28)
npm error node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1105:16)
npm error node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:305:5)
npm error node-pre-gyp ERR! System Windows_NT 10.0.22631
npm error node-pre-gyp ERR! command “C:Program Files (x86)nodejsnode.exe” “C:UsersHPRepocloneHostelbackendnode_modules@mapboxnode-pre-gypbinnode-pre-gyp” “install” “–fallback-to-build”
npm error node-pre-gyp ERR! cwd C:UsersHPRepocloneHostelbackendnode_modulesbcrypt
npm error node-pre-gyp ERR! node -v v20.11.1
npm error node-pre-gyp ERR! node-pre-gyp -v v1.0.11
npm error node-pre-gyp ERR! not ok
npm error A complete log of this run can be found in: C:UsersHPAppDataLocalnpm-cache_logs2024-06-08T08_48_21_134Z-debug-0.log

this is showing up upon installing bcrypt module , i have tried everything from installing python to running the windows build tool kit command , npm cache clear nothing seems to work

New contributor

Dikshit Dhar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật