从AWS EB CLI部署时,出现以下错误:
ERROR: [Instance: i-aa73ca73] Command failed on instance. Return code: 137 Output: (TRUNCATED)...a68506c488392288a70c5f31c658d338f5a7504ccabe8824ee8de2dd6ca94a.png
I, [2015-11-30T14:28:50.159903 #25859] INFO -- : Writing /var/app/ondeck/public/assets/application-6256e81befb040edb2ea50d5bb17b53518a99712fcea0760a143e8042dfa2326.js
Killed (core dumped).
Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/11_asset_compilation.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
INFO: Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
ERROR: Unsuccessful command execution on instance id(s) 'i-aa73ca73'. Aborting the operation.
ERROR: Failed to deploy application.
任何帮助将不胜感激。谢谢。
我最终浏览了application.js文件,并进行了删除和重新添加所需脚本的操作。我将其缩小为一个或多个以下元凶。
已移除:
//= require gmaps/google
//= require rest_in_place
//= require underscore
我将继续使用它,并在可能的情况下进行报告。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句