-
Notifications
You must be signed in to change notification settings - Fork 400
Closed
Description
I am using Pattern Lab Node v5.14.1 on Linux, with Node v12.19.0, using a edition-twig Edition with the starterkit-twig-demo starter kit.
Expected Behavior
Patterns can live in subfolders (e.g, _patterns/pages/article/article.twig) and root folders (e.g., _patterns/pages/article.twig) without errors.
Actual Behavior
If a Twig pattern file is in one of the root folders (e.g., most of the files in the templates and pages folders in the starterkit-twig-demo starterkit), errors like the following are shown during compile. These errors do not seem to negatively affect the output files.
There was an error setting pattern subgroup data after markdown parsing for source/_patterns/pages/_.md
Error: ENOTDIR: not a directory, open '/app/source/_patterns/pages/article.twig/_.md'
There was an error setting pattern subgroup data after markdown parsing for source/_patterns/pages/_.md
Error: ENOTDIR: not a directory, open '/app/source/_patterns/pages/blog.twig/_.md'
There was an error setting pattern subgroup data after markdown parsing for source/_patterns/pages/_.md
Error: ENOTDIR: not a directory, open '/app/source/_patterns/pages/homepage.twig/_.md'
There was an error setting pattern subgroup data after markdown parsing for source/_patterns/templates/_.md
Error: ENOTDIR: not a directory, open '/app/source/_patterns/templates/article-2col.twig/_.md'
There was an error setting pattern subgroup data after markdown parsing for source/_patterns/templates/_.md
Error: ENOTDIR: not a directory, open '/app/source/_patterns/templates/article.twig/_.md'
There was an error setting pattern subgroup data after markdown parsing for source/_patterns/templates/_.md
Error: ENOTDIR: not a directory, open '/app/source/_patterns/templates/blog.twig/_.md'
There was an error setting pattern subgroup data after markdown parsing for source/_patterns/templates/_.md
Error: ENOTDIR: not a directory, open '/app/source/_patterns/templates/homepage.twig/_.md'
There was an error setting pattern subgroup data after markdown parsing for source/_patterns/pages/_.md
Error: ENOTDIR: not a directory, open '/app/source/_patterns/pages/homepage~emergency.json/_.md'
Steps to Reproduce
Install the latest version of PL (5.14.1) with the Twig engine and starterkit-twig-demo starterkit and compile the files using the normal commands (e.g., npm run build).
Reactions are currently unavailable