bcrypt is breaking my meteor application, how do I fix it?

前端 未结 3 437
醉酒成梦
醉酒成梦 2020-12-28 08:43

I wasn\'t sure if this should be a stackoverflow or serverfault question.

I installed Meteor\'s accounts-password module and it worked locally, but broke my app whe

3条回答
  •  梦谈多话
    2020-12-28 09:23

    The bcrypt module is platform dependant (as fibers), so you need to remove the package after decompressing the bundle in your server:

    rm -R path/to/bcrypt
    

    then install it again:

    npm install bcrypt
    

提交回复
热议问题