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
The bug
I'm using pagination along with eleventyComputed and eleventyNavigation to create a dropdown menu with anchor links.
After updating to 1.0.0, rendering fails with below error message.
I tried updating to v1.0.1-canary.2, to check if #1956 fixed this, with no luck.
To Reproduce
Here's the nunjucks template:
(removing "permalink: false" fixes it, but outputs a bunch of empty pages)
Expected behavior
On Eleventy 0.12, this was rendering without a hitch.
Error message
[11ty] Writing false from ./content/dropdown_items.njk
[11ty] Writing false from ./content/dropdown_items.njk
[11ty] Writing false from ./content/dropdown_items.njk
[11ty] Writing false from ./content/dropdown_items.njk
[11ty] Writing false from ./content/dropdown_items.njk
[11ty] Writing false from ./content/dropdown_items.njk
[11ty] Writing false from ./content/dropdown_items.njk
[11ty] Writing false from ./content/dropdown_items.njk
[11ty] Writing false from ./content/dropdown_items.njk
[11ty] Writing false from ./content/dropdown_items.njk
[11ty] Writing false from ./content/dropdown_items.njk
[11ty] Writing false from ./content/dropdown_items.njk
[11ty] Writing false from ./content/dropdown_items.njk
[11ty] Problem writing Eleventy templates: (more in DEBUG output)
[11ty] > Having trouble writing template: false
`TemplateWriterWriteError` was thrown
[11ty] > The "path" argument must be of type string. Received type boolean (false)
`TypeError` was thrown:
[11ty] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type boolean (false)
at new NodeError (node:internal/errors:371:5)
at validateString (node:internal/validators:119:11)
at Object.parse (node:path:913:5)
at Template._write (C:\NODEJS\Eleventy\karapanou-eleventy\karapanou-eleventy\node_modules\@11ty\eleventy\src\Template.js:817:36)
at C:\NODEJS\Eleventy\karapanou-eleventy\karapanou-eleventy\node_modules\@11ty\eleventy\src\Template.js:923:23
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Promise.all (index 0)
at async Promise.all (index 56)
at async Eleventy.executeBuild (C:\NODEJS\Eleventy\karapanou-eleventy\karapanou-eleventy\node_modules\@11ty\eleventy\src\Eleventy.js:986:13)
Environment:
OS and Version: Windows 11
Eleventy Version: 1.0.0
The text was updated successfully, but these errors were encountered:
This is possibly related to #2161 and #1754 ?
The bug
I'm using pagination along with eleventyComputed and eleventyNavigation to create a dropdown menu with anchor links.
After updating to 1.0.0, rendering fails with below error message.
I tried updating to v1.0.1-canary.2, to check if #1956 fixed this, with no luck.
To Reproduce
Here's the nunjucks template:
(removing "permalink: false" fixes it, but outputs a bunch of empty pages)
Expected behavior
On Eleventy 0.12, this was rendering without a hitch.
Error message
Environment:
The text was updated successfully, but these errors were encountered: