Skip to content

uikit-workshop 5.5.0 crashes during serve when adding an empty pattern file #1114

@ringods

Description

@ringods

I am using Pattern Lab Node v5.5.0 on Mac, with Node v13.5.0, using a Custom Edition.

Expected Behavior

patternlab serve should rebuild and reload correctly when I add a new empty pattern in any of the pattern folders.

Actual Behavior

When I add an empty pattern file in any of the pattern folders, the patterns are rebuilt but then patternlab serve crashes on me:

...
Built pattern: templates-home
Built pattern: pages-home
Built pattern: pages-welcome
Omitting pages-welcome from styleguide patterns because it is defined as a defaultPattern.
Built Pattern Lab front end
Assertion failed: (0), function uv_close, file ../deps/uv/src/unix/core.c, line 187.
[1]    90622 abort      npm run pl:serve
Time: 0h:00m:42s
Steps to Reproduce

Use @patternlab/uikit-workshop v5.5.0 in devDependencies of my setup. When I revert to v5.4.0, the error is gone.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions