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
Error: Cannot read property 'for_' of undefined #689
Comments
Do you have a link to your spec itself? Unfortunately, the error below comes from the minified code so it's not possible for me to debug.
|
@riannella thanks! (and hi! long time 😄!) Confirmed error... TypeError: undefined is not an object (evaluating 'linkTargets[0].for_') — link-to-dfn.js:75 Trying to find what is causing it in the doc itself. |
@riannella, you have some markup in your document that is causing the issue: <h4><a name="section-231"></a>2.3.1 Role</h4> That should be: <section>
<h4>Role</h4>
...
</section> That will allow ReSpec to auto id that section and number it for you. ReSpec should warn about |
@riannella, there is also one more. Search for: <h3><a name="section-22"></a>2.2 Asset</h3> |
@riannella, I would also recommend running HTML5 Tidy over your document. It will take care of the nesting for you wrt to |
Thanks Marcos !! Renato |
I get the following error:
[TypeError] Cannot read property 'for_' of undefined ⊟
TypeError: Cannot read property 'for_' of undefined
at HTMLAnchorElement. (https://www.w3.org/Tools/respec/respec-w3c-common:18:6493)
at Function.ae.extend.each (https://www.w3.org/Tools/respec/respec-w3c-common:8:482)
at ae.fn.ae.each (https://www.w3.org/Tools/respec/respec-w3c-common:7:30459)
at Object.run (https://www.w3.org/Tools/respec/respec-w3c-common:18:5875)
at https://www.w3.org/Tools/respec/respec-w3c-common:10:17586
at https://www.w3.org/Tools/respec/respec-w3c-common:10:17548
The text was updated successfully, but these errors were encountered: