New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read properties of undefined (reading 'name') in first line of every template #411
Comments
thanks for reporting!
|
Hi! Thank you so much for answering so quickly! Well, in our package.json we have the following packages:
And literally almost everything could be a reproduction, but for example:
Then, in the first line: Cannot read properties of undefined (reading 'name')glimmer-engine(syntax) when visibly, there's no instance that However, we have a few instances like:
That seems not to trigger this problem. Thinking about that, maybe the root resides on the component, but I cannot figure it out |
so since this seems to be runtime error, what does the compiled output of your problematic template look like? |
That's the issue, everything looks correct, and nothing changed from when this flag started to appear. |
a repro repo would be most helpful <3 |
In every
template.hbs
that I have, in the first, I seem to keep receiving the following errorCannot read properties of undefined (reading 'name')glimmer-engine(syntax)
However, there's no
name
in said templates, so I presumed it has something to do with the way glimmer-engine is configured, but I don't seem to catch where it is coming from.It doesn't matter whether the first line is a moustache, a semantic tag or even a line break, it will report that said error occurs in the file (although, it does not prevent it from compiling and rendering).
Does anybody more experience have an idea of how to solve this annoying error?
The text was updated successfully, but these errors were encountered: