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
I'm running into this with Eleventy 2.0.1 with no serverless functionality in play: using pagination to iterate over an array in the global data, then a 'permalink' function in eleventyComputed.js, everything works fine unless I return FALSE to suppress output for one of the items.
Happy to whip up a bite-sized script to duplicate it if it helps, but it does seem to mirror just what this issue describes. Curious what your workaround was, @ryangittings?
Operating system
macOS Ventura 13.0
Eleventy
2.0.0
Describe the bug
Original error stack trace: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type boolean (false)
at Template._write (/node_modules/@11ty/eleventy/src/Template.js:751:34)
Reproduction steps
Expected behavior
To build pages that have a slug, and to ignore ones with a
false
permalinkReproduction URL
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: