edition-node-gulp icon indicating copy to clipboard operation
edition-node-gulp copied to clipboard

'all' default pattern not building. No errors.

Open mimiflynn opened this issue 9 years ago • 6 comments

I am using Pattern Lab Node- Gulp Edition v1.3.0 on Mac.

Expected Behavior

After successful build and serve, default screen should be 'all' pattern and that when clicking the link to the 'all' pattern would display all patterns.

Actual Behavior

A white screen displays.

Steps to Reproduce

Download v1.3.0 create some patterns gulp patternlab:serve all screen will be empty

mimiflynn avatar Aug 17 '16 18:08 mimiflynn

I had been dumping all of my _patterns into the new v1.3.0 directory, but when I add single files into the preexisting _patterns directory structure, it appears to build the 'all' pattern just fine. Is there a naming convention change I need to account for?

mimiflynn avatar Aug 17 '16 19:08 mimiflynn

It's recommended to follow this structure - http://patternlab.io/docs/pattern-organization.html

bmuenzenmeyer avatar Aug 25 '16 03:08 bmuenzenmeyer

I've been having the same issue in the same circumstances. It's affecting the "all" page and every page that contains more than one pattern. I only get a blank page with the following text:

Cannot GET /patterns/01-base/index.html?1472753431887

maxx1128 avatar Sep 01 '16 18:09 maxx1128

Same issue as mimiflynn: It seems as though the pattern markup that should populate the public/styleguide/html/styleguide.html file (in this section:

) is not being correctly generated. The patterns are being constructed as outlined in patternlab.io: [patternType]/[patternName].[patternExtension]. The gulp file has the requisite referrals to the styleguide.html functionality/patterns...but still nothing on "ALL". No error, nothing.

fugaciousness avatar Sep 22 '16 16:09 fugaciousness

OS: Windows 10 Node version: 8.11.1 NPM: 5.8.0

I got a similar issue. If I delete everything, re-install patternlab, and use gulp patternlab:serve everything works (after I re-import everything in source folder).

But if I keep it closed for long time, and for example, reboot my pc, and try to run it again I get a white page. Pattern Lab loads immediately, I just can see the header and menu, but everything is empty. Not a single error shown in node console, just a warning.

WARNING: missing or malformed ./source/_data/listitems.json file. Pattern Lab may not work without this file. Could not find pattern referenced with partial syntax README.md. This can occur when a pattern was renamed, moved, or no longer exists but it still referenced within a different template or within data as a link.

But that warning it's there even when it works...

Also after that warning I got a lot of warnings that my patterns are no longer found, despite I didn't move anything:

Could not find pattern referenced with partial syntax atoms\titles\h3.json. This can occur when a pattern was renamed, moved, or no longer exists but it still referenced within a different template or within data as a link.

It's a huge list since I got lots of patterns.

Any idea on how to fix this?

mattiabonacini avatar Apr 14 '18 14:04 mattiabonacini

I have the same problem like above...

timhartmann avatar Apr 25 '19 19:04 timhartmann