bcrypt.compareSync is not a function
我在实现登录的过程中报错：“bcrypt.compareSync is not a function”。可是我在controllers/users.js引入了bcryptjs，项目依赖中也添加了bcryptjs。
![1](https://user-images.githubusercontent.com/31820155/36465358-9be145c8-170f-11e8-8219-1c1b8876ac23.jpg)
![2](https://user-images.githubusercontent.com/31820155/36465361-9defe1d0-170f-11e8-9b61-76a6e7221d66.jpg)
![3](https://user-images.githubusercontent.com/31820155/36465362-9e33e0e2-170f-11e8-8f04-568157fc9981.jpg)

