Skip to content

Instantly share code, notes, and snippets.

@simongcc
Created February 18, 2019 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simongcc/68d0613b48f6ae2ed3e190fab29b6305 to your computer and use it in GitHub Desktop.
Save simongcc/68d0613b48f6ae2ed3e190fab29b6305 to your computer and use it in GitHub Desktop.
Notes on dealing with Babel with Gulp
When using Gulp with Babel and encounter problem during upgrade modules, can check:
1. run npx babel-upgrade to check, with --write to actually modify
2. remove the node_modules, can use Ram drive to test without hurting the SSD/HD
3. check gulp-cli version by typing > gulp -v, the local version did affect the result
in my case, it was cli: 1.3, local: 4.0, the 1.3 did not support to run properly after upgrading to Babel 7.0 with gulp-babel etc also updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment