自动编译同步应用程序无法在氮气中找到.hrl文件

时间:2018-11-15 15:11:11

标签: erlang cowboy yaws nitrogen

请帮助解决以下错误,当我在氮气上运行sync:go()时,将发生以下错误。我尝试了所有资源,但徒劳无功。相同的问题导致同步应用程序无法在包含目录中找到.hrl文件!

 =ERROR REPORT==== 15-Nov-2018::17:39:31 ===
~/app/lib/simple_bridge/src/webmachine_bridge_modules/webmachine_simple_bridge_static.erl:7: Error: can't find include file "compat.hrl"
~/app/lib/simple_bridge/src/webmachine_bridge_modules/webmachine_simple_bridge_static.erl:148: Error: undefined macro 'HASH/1'
~/app/lib/simple_bridge/src/webmachine_bridge_modules/webmachine_simple_bridge_static.erl:153: Error: function hash_body/1 undefined

然后,每当我尝试运行同步时,另一个错误就会继续。

=ERROR REPORT==== 15-Nov-2018::17:40:31 ===

~/app/site/src/x.erl:4: Error: can't find include file "xxxx.hrl"
~/app/site/src/y.erl:5: Error: can't find include file "yyyy.hrl"

每当我执行在生产环境中不很酷的更新时,我都会求助于'make'并重新启动氮气。

0 个答案:

没有答案