[英]Error Deploying to Elastic Beanstalk using Rails/puma
[Instance: i-dc5e265b] Command failed on instance. Return code: 1
Output: (TRUNCATED)...s/lib/less/import-visitor.js:34:22) at Parser.parser.parse (/opt/rubies/ruby-2.1.8/lib/ruby/gems/2.1.0/gems/less-2.6.0/lib/less/js/lib/less/parser.js:675:22)
Unrecognised input Tasks: TOP => assets:precompile (See full trace by running task with --trace).
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.
It's my first time deploying to EB and I can't seem to find any answers online. 这是我第一次部署到EB,似乎无法在线找到任何答案。 Something about my assets is causing errors.
关于我的资产的某些信息导致错误。 I've tried precompiling assets before deploying without any luck.
在没有任何运气的情况下,我尝试过在部署之前对资产进行预编译。
I figured it out by using the elastic beanstalk logger with the command: 我通过使用Elastic beantalk记录器和以下命令找出了答案:
eb logs
There were errors in my bootstrap css that was causing the deployment to fail. 我的引导CSS出现错误,导致部署失败。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.