stf icon indicating copy to clipboard operation
stf copied to clipboard

Error in gulpfile.js after gulp is upgraded to v4

Open darshansr opened this issue 10 years ago • 4 comments

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 local or 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 -l and paste the relevant row here:

darshansr avatar Aug 08 '16 20:08 darshansr

gulp v4 is not released yet. Any specific reason to use unreleased version? Also, what are the errors?

vbanthia-zz avatar Aug 09 '16 06:08 vbanthia-zz

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.

darshansr avatar Aug 09 '16 14:08 darshansr

Run ./node_modules/.bin/gulp instead of your global gulp. So, e.g. ./node_modules/.bin/gulp clean would be equivalent to gulp clean.

sorccu avatar Aug 09 '16 14:08 sorccu

thank you

darshansr avatar Aug 12 '16 14:08 darshansr