-
Notifications
You must be signed in to change notification settings - Fork 111
Cannot read property 'length' of undefined - plugins.length() in patternlab-viewer.js #91
Comments
I'm getting this same error on a Windows machine: Windows 10 |
The above change fixes this for me, but you also need to make sure you have a:
in your patternlab-config.js file. |
Awesome that worked for me, I assume you meant: |
Will be resolved for everyone when pattern-lab/patternlab-node#558 hits a release |
FYI, I have the same error with the Grunt edition. Therefor I think the bug should be fixed in the styleguidekit-assets-default project. Adding a simple check for the (global) variable
|
styleguidekit assets default is cross-platform with the PHP version, which is not suffering the issue. The fix I linked to above will resolve this for gulp and grunt node editions. stay tuned |
I am using Pattern Lab Node- Gulp Edition
v1.3.4
onMac
.Expected Behavior
No errors in console on a fresh install.
Actual Behavior
Cannot read property 'length' of undefined - plugins.length() in patternlab-viewer.js
Steps to Reproduce
gulp patternlab:serve
The text was updated successfully, but these errors were encountered: