bcrypt:将 Node.js 项目迁移到 Heroku-20 (Ubuntu 20.04) 问题

问题描述

我的 Node.js 项目在本地 Ubuntu 20.04macOS Big Sur 上运行良好。但在Heroku Ubuntu 20.04不是

我正在迁移到 Ubuntu 20.04,因为 Heroku 将终止对 Ubuntu 16 的支持

(Full log is here)

remote:        npm ERR! bcrypt@3.0.2 install: `node-pre-gyp install --fallback-to-build`
remote:        npm ERR! Exit status 1
remote:        npm ERR!
remote:        npm ERR! Failed at the bcrypt@3.0.2 install script.
remote:        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
remote:
remote:        npm ERR! A complete log of this run can be found in:
remote:        npm ERR!     /tmp/npmcache.SUn6P/_logs/2021-03-06T05_48_35_691Z-debug.log
remote:
remote: -----> Build Failed
Any pointers please?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)