Skip to content

Instantly share code, notes, and snippets.

@albertorestifo
Created July 29, 2021 11:27
Show Gist options
  • Save albertorestifo/40e44057c3adcac2f7f0fd58dbb2b58a to your computer and use it in GitHub Desktop.
Save albertorestifo/40e44057c3adcac2f7f0fd58dbb2b58a to your computer and use it in GitHub Desktop.
Error: instantiating 'Breeze::Requests::ShowPage#perform_render()'
In lib/lucky/src/lucky/html_builder.cr:27:5
27 | render
^-----
Error: instantiating 'render()'
In lib/breeze/src/breeze/pages/breeze_layout.cr:10:5
10 | html lang: "en" do
^---
Error: instantiating 'html()'
In lib/breeze/src/breeze/pages/breeze_layout.cr:10:5
10 | html lang: "en" do
^---
Error: instantiating 'html()'
In lib/breeze/src/breeze/pages/breeze_layout.cr:11:7
11 | mount Breeze::LayoutHead, page_title: page_title, context: context
^----
Error: instantiating 'mount(Breeze::LayoutHead.class)'
In lib/lucky/src/lucky/mount_component.cr:13:5
13 | print_component_comment(component) do
^----------------------
Error: instantiating 'print_component_comment(Breeze::LayoutHead.class)'
In lib/lucky/src/lucky/mount_component.cr:13:5
13 | print_component_comment(component) do
^----------------------
Error: instantiating 'print_component_comment(Breeze::LayoutHead.class)'
In lib/lucky/src/lucky/mount_component.cr:14:71
14 | component.new(*args, **named_args).view(view).context(@context).render
^-----
Error: instantiating 'Breeze::LayoutHead#render()'
In lib/breeze/src/breeze/components/breeze/layout_head.cr:7:5
7 | head do
^---
Error: instantiating 'head()'
In lib/breeze/src/breeze/components/breeze/layout_head.cr:7:5
7 | head do
^---
Error: instantiating 'head()'
In lib/breeze/src/breeze/components/breeze/layout_head.cr:14:7
14 | csrf_meta_tags
^-------------
Error: instantiating 'csrf_meta_tags()'
In lib/lucky/src/lucky/tags/forgery_protection_helpers.cr:23:35
23 | content: ProtectFromForgery.get_token(context)
^--------
Error: no overload matches 'Lucky::ProtectFromForgery.get_token' with type (HTTP::Server::Context | Nil)
Overloads are:
- Lucky::ProtectFromForgery.get_token(context : HTTP::Server::Context)
Couldn't find overloads for these types:
- Lucky::ProtectFromForgery.get_token(context : Nil)
Nil trace:
lib/lucky/src/lucky/tags/forgery_protection_helpers.cr:23
content: ProtectFromForgery.get_token(context)
^~~~~~~
macro getter (in expanded macro: macro_4568652864:117):4
def context
^~~~~~~
macro getter (in expanded macro: macro_4568652864:117):5
@context
lib/lucky/src/lucky/base_component.cr:28
def context(@context : HTTP::Server::Context?)
lib/lucky/src/lucky/base_component.cr:28
def context(@context : HTTP::Server::Context?)
lib/lucky/src/lucky/base_component.cr:28
def context(@context : HTTP::Server::Context?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment