I'm new to Gulp and Babel otherwise I would say more regarding this problem. I believe I installed Babel correctly including:
npm install babel-preset-es2015 --save-dev
However I currently get this error:
The following tasks did not complete: scripts
Did you forget to signal async completion?
var gulp = require("gulp");
var babel = require("gulp-babel");
gulp.task('scripts', function() {
return gulp.src("app/js/app.js")
.pipe(babel())
.pipe(gulp.dest("dist/js"));
});
gulp.task('watch', function() {
gulp.watch('app/js/app.js', 'scripts');
});
gulp.task('default', gulp.parallel('scripts', 'watch'));