我正在测试这个https://github.com/saleyn/erws_example https://github.com/saleyn/erws_example在 R16B03 上(在 Windows 和 Ubuntu 上)
==> erws_example (compile)
src/erws_handler.erl:none: undefined parse transform 'lager_transform'
ERROR: compile failed while processing /home/charles/erws_example: rebar_abort
我看过这个建议http://philipcristiano.com/2013/05/27/ordering-of-rebar-dependency.html http://philipcristiano.com/2013/05/27/ordering-of-rebar-dependencies.html
到目前为止,我无法取得任何进展。
Thanks.
看来 rebar 在编译其他所有内容之前无法编译解析转换(https://github.com/basho/rebar/issues/270 https://github.com/basho/rebar/issues/270)。解决方案是手动使用解析转换编译模块或使用文件级 parse_transform 编译器指令而不是项目级。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)