You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build': undefined method []' for nil:NilClass (NoMethodError) #233
changed the title [-]`build': undefined method `[]' for nil:NilClass (NoMethodError)[/-][+]build': undefined method []' for nil:NilClass (NoMethodError)[/+]on Jun 21, 2023
Could you share a bit more about your setup and maybe some code examples so I may be able to help you better? Maybe the HTML you are trying to run this on also?
I also get this error, but only when running the command using a gradle task. When executing bootstrap-email manually everything works fine but using a Exec gradle task that should automate the building process I get this error
body.inner_html = template('body', classes: "#{body['class']} body", contents: body.inner_html)
^^^^^^^^^
from /usr/local/share/gems/gems/bootstrap-email-1.4.1/lib/bootstrap-email/converters/base.rb:14:in `build'
from /usr/local/share/gems/gems/bootstrap-email-1.4.1/lib/bootstrap-email/compiler.rb:72:in `compile_html'
from /usr/local/share/gems/gems/bootstrap-email-1.4.1/lib/bootstrap-email/compiler.rb:34:in `perform_html_compile'
from /usr/local/share/gems/gems/bootstrap-email-1.4.1/lib/bootstrap-email/bootstrap_email_cli.rb:93:in `public_send'
from /usr/local/share/gems/gems/bootstrap-email-1.4.1/lib/bootstrap-email/bootstrap_email_cli.rb:93:in `<top (required)>'
from /usr/local/share/gems/gems/bootstrap-email-1.4.1/bin/bootstrap-email:4:in `require_relative'
from /usr/local/share/gems/gems/bootstrap-email-1.4.1/bin/bootstrap-email:4:in `<top (required)>'
from /bin/bootstrap-email:25:in `load'
from /bin/bootstrap-email:25:in `<main>'
Activity
[-]`build': undefined method `[]' for nil:NilClass (NoMethodError)[/-][+]build': undefined method []' for nil:NilClass (NoMethodError)[/+]stuyam commentedon Jul 16, 2023
Could you share a bit more about your setup and maybe some code examples so I may be able to help you better? Maybe the HTML you are trying to run this on also?
aneshodza commentedon Feb 22, 2024
I am also getting this. Anything new?
MineKing9534 commentedon Mar 17, 2024
I also get this error, but only when running the command using a gradle task. When executing
bootstrap-emailmanually everything works fine but using aExecgradle task that should automate the building process I get this error