-
Notifications
You must be signed in to change notification settings - Fork 400
Description
I am using Pattern Lab Node v2.6.2 on Windows | Mac | Linux, with Node v7.4.0, using the Gulp Edition.
Expected Behavior
Although on the frontend there is no issues, I am getting this message in my gulp output:
Could not find pattern referenced with partial syntax molecules-cta. This can occur when a pattern was renamed, moved, or no longer exists but it still called within a different template somewhere.
Now I call molecules-cta in this file source/_patterns/molecules/00-banners/banner.mustache
<div class="c-banner__wrapper">
{{# text }}
<div class="c-banner__text">
<div class="c-banner__text--inner">
// content
<div class="o-actions">
<div class="o-actions__inner">
{{# cta }}
{{> molecules-cta }}
{{/ cta }}
</div>
</div>
</div>
</div>
{{/ text }}
</div>
I have a similar call in another file source/_patterns/molecules/00-banners/banner-image.mustache
When I remove this from the 1st file:
{{# cta }} {{> molecules-cta }} {{/ cta }}
I no longer see an error looking for that file, so I copied the code exactly from the banner-image.mustache file into the banner.mustache file, but it made no difference, I got the error again.
This has stumped me. Let me know if anymore information is required.