Error installing bcrypt with npm

后端 未结 17 2301
别那么骄傲
别那么骄傲 2020-11-27 14:20

I\'m unable to install bcrypt using npm on my machine because I encounter the following errors. I have been troubleshooting the issue without much luck. Can you

17条回答
  •  猫巷女王i
    2020-11-27 15:03

    If you are on windows run powershell as administrator and use these commands.

    npm install --g --production windows-build-tools
    

    and then install bcrypt using

    npm install --save bcrypt
    

提交回复
热议问题