使用TravisCI的Bcrypt npm模块错误

时间:2016-07-14 07:05:00

标签: node.js linux npm continuous-integration travis-ci

Bcrypt是我在Nodejs应用程序上的依赖项,在运行TravisCI构建时,会发生以下错误:



 <p>
   Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text
    <img src=http://cdn-img.health.com/sites/default/files/styles/400x400/public/styles/400x400/public/styles/main/public/how-take-care-cat-400x400.jpg?itok=ta2kPB58>
<p>
&#13;
&#13;
&#13;

此处有完整的错误记录:https://s3.amazonaws.com/archive.travis-ci.org/jobs/144662107/log.txt

此处的存储库:https://github.com/IBM-Bluemix/nodejs-MEAN-stack/tree/production-sample

1 个答案:

答案 0 :(得分:0)

您可以尝试将bcrypt替换为bcryptjs,这是在纯JavaScript中优化的bcrypt,没有依赖关系。