stf
stf copied to clipboard
Error in gulpfile.js after gulp is upgraded to v4
What's the problem (or question)?
What should have happened?
Do you have an idea for a solution?
How can we reproduce the issue?
Help us understand your issue by providing context.
Please tell us details about your environment.
- Are you using
stf localor a full deployment: - Version used (git hash or
stf -V): - Environment name and version (e.g. Chrome 39, node.js 5.4):
- Operating System and version:
- If there was a problem with a specific device, run
adb devices -land paste the relevant row here:
gulp v4 is not released yet. Any specific reason to use unreleased version? Also, what are the errors?
assert.js:89 throw new assert.AssertionError({ ^ AssertionError: Task never defined: run:checkversion
No specific reason i just updated it.After updating got an error. I looked at all possible solutions,tried changes in gulpfile.js file still getting same error.
Any solution please.
Run ./node_modules/.bin/gulp instead of your global gulp. So, e.g. ./node_modules/.bin/gulp clean would be equivalent to gulp clean.
thank you