본문 바로가기

Javascript/NodeJS

[NodeJS] Window10 환경, bcrypt 설치 오류 해결

반응형

⌗ 환경

  • Windows 7 64Bit Professional (Service Pack 1)
  • Windows 10 64Bit Professional (Version 1607)

 

⌗ 오류현상

node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.2/bcrypt_lib-v1.0.2-node-v48-linux-x64.tar.gz

 

⌗ 해결방법

  1. 관리자 권한으로 콘솔 열기
  2. windows-build-tools 설치 : npm install --global --production windows-build-tools
  3. bcrypt 재설치 : npm i bcrypt

 

 


[참고]

https://github.com/kelektiv/node.bcrypt.js/wiki/Installation-Instructions#microsoft-windows

 

kelektiv/node.bcrypt.js

bcrypt for NodeJs. Contribute to kelektiv/node.bcrypt.js development by creating an account on GitHub.

github.com


반응형

❥ CHATI Github