$ cap deploy
Unfortunately, the deployment process is failing and I am receiving the following error message:
* executing "cd /var/www/site/prod/releases/20120831164520 && php app/console assetic:dump web --env=prod --no-debug" servers: ["site.me"] [site.me] executing command ** [out :: site.me] Dumping all prod assets. ** [out :: site.me] Debug mode is off. ...... ** [out :: site.me] [file+] web/js/compiled/c9751db.js *** [err :: site.me] [RuntimeException] *** [err :: site.me] The process timed out.
I have tried running the
php app/console assetic:dump web --env=prod
command locally and everything seems to be working fine.
Furthermore, I have checked the pre-compiled JS file using JSLint and there are no errors reported.
Below is the code snippet showing how I am including the problematic JS file in my template:
{% javascripts
'@SoopDesignBundle/Resources/public/js/*.js'
filter='yui_js'
output='js/compiled/*.js'
%}
<script type="text/javascript" src="{{ asset_url }}"></script>
{% endjavascripts %}
At this point, I am unsure where the issue may lie. I have checked for missing semicolons or any other syntax errors that could potentially cause yui_js to fail, but I am running out of ideas on how to resolve this issue.