zachdaniel
Creator of Ash
Following Example (with small deviations) leads to (UndefinedFunctionError) function Link.__props__/0
Hello!
I’ve followed the example, but named the modules in a way that I personally would prefer. I haven’t tried naming them exactly as the getting started guide suggests yet, will do that next. Repo here: GitHub - zachdaniel/hash_example · GitHub
I’m getting a relatively cryptic error:
[error] ** (UndefinedFunctionError) function Link.__props__/0 is undefined (module Li
nk is not available). Make sure the module name is correct and has been specified in
full (or that an alias has been defined)
Link.__props__()
(hologram 0.2.0) lib/hologram/template/renderer.ex:233: Hologram.Template.Rendere
r.filter_allowed_props/2
(hologram 0.2.0) lib/hologram/template/renderer.ex:190: Hologram.Template.Rendere
r.cast_props/2
(hologram 0.2.0) lib/hologram/template/renderer.ex:47: Hologram.Template.Renderer
.render_dom/2
(hologram 0.2.0) lib/hologram/template/renderer.ex:120: anonymous fn/3 in Hologra
m.Template.Renderer.render_dom/2
(elixir 1.18.0) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3
(hologram 0.2.0) lib/hologram/template/renderer.ex:70: Hologram.Template.Renderer
.render_dom/2
(hologram 0.2.0) lib/hologram/template/renderer.ex:120: anonymous fn/3 in Hologra
m.Template.Renderer.render_dom/2
(elixir 1.18.0) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3
(hologram 0.2.0) lib/hologram/template/renderer.ex:120: anonymous fn/3 in Hologra
m.Template.Renderer.render_dom/2
(elixir 1.18.0) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3
(hologram 0.2.0) lib/hologram/template/renderer.ex:70: Hologram.Template.Renderer
.render_dom/2
(hologram 0.2.0) lib/hologram/template/renderer.ex:120: anonymous fn/3 in Hologra
m.Template.Renderer.render_dom/2
(elixir 1.18.0) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3
(hologram 0.2.0) lib/hologram/template/renderer.ex:120: anonymous fn/3 in Hologra
m.Template.Renderer.render_dom/2
(elixir 1.18.0) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3
(hologram 0.2.0) lib/hologram/template/renderer.ex:70: Hologram.Template.Renderer
.render_dom/2
(hologram 0.2.0) lib/hologram/template/renderer.ex:120: anonymous fn/3 in Hologra
m.Template.Renderer.render_dom/2
(elixir 1.18.0) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3
(hologram 0.2.0) lib/hologram/template/renderer.ex:70: Hologram.Template.Renderer
.render_dom/2
EDIT: looks like the naming has nothing to do with it ![]()
Most Liked
zachdaniel
Creator of Ash
Ah, okay, there is a missing alias Hologram.UI.Link in the main layout file. @bartblast should probably update the website ![]()
1
bartblast
Creator of Hologram
I’ve corrected the quick start guide on the website already, thanks!
1
Popular in Questions
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible.
total = 10
while total != 0
...
New
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
Hey all,
I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
I will often find my self writing things similar to:
case some_value do
nil -> something()
"" -> something()
_ -> somethi...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar.
I p...
New
I am trying to run a deploy with docker and I successfully runned with this command:
docker build -t romenigld/blog-prod .
but when I t...
New
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
Other popular topics
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
Hello all!
I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
New
lets say i have a sample like
a = 20; b = 10;
if (a > b) do
{:ok, "a"}
end
if (a < b) do
{:ok, b}
end
if (a == b) do
{:ok, "equa...
New
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
Hi folks,
Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
New
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!)
This post collects co...
New
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #javascript
- #code-sync
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








