Cannot read property 'apply' of undefined #61
Comments
Hi @digitalclover thanks for the issue report. My current guess is this is an environment thing. I can run the repo clean on Node Pattern Lab Core is covered by travis, but the editions are not yet. |
could you also provide the results of |
Hey, @bmuenzenmeyer I'm getting the same error shown above. Here's my results from
Thanks, really looking forward to checking out Patternlab! |
Your gulp CLI is wrong. https://github.com/pattern-lab/edition-node-gulp/wiki/Updating-to-Gulp-4 |
Yep, just realized that. Sorry! Everything is working fine now. Thanks for the reply. |
Yay! Finding the ways in which this error manifests is important for future users. Thanks again for taking the time to use Pattern Lab! |
Confirmed that I had Gulp 3.x running on both machines. Upgrading to 4.x fixed this issue. Thank you. |
lol i didn't realize there was two of you, but nice that it resolved both of your issues. |
I have tried the method you mentioned, but my CLI version is still 3.9.1. |
After upgrading my gulp-cli version, gulp -v still shows the same Any suggestions what can be the issue? node -v : |
npm i -g gulp-cli |
What folks most likely want is pretty quick troubleshooting output below
|
Even I tried everything mentioned above:
But the error still persisted. The following things worked for me:
I think the difference between package install locations of nvm and default node was messing up for me. |
Same issue.
Still get this error |
I am using Pattern Lab Node v6.2.2 on Windows & Mac, using the
gulp
configuration.Expected Behavior
After installing npm packages, gulp should be able to perform its defined tasks in /gulpfile.js
Actual Behavior
All gulp tasks results in thrown error.
Full output:
Steps to Reproduce
Issue is duplicated on both Windows 10 & OSX
The text was updated successfully, but these errors were encountered: