In my Angular application, the following error appears after adding gulp babelgulp to my file. I need this to overlap and reduce my ES6:
Unable to set property '0' from undefined
I think angular-file-saver does not like babelfication.
Causing these errors:
angular.js: 33 Error in the absence of: [$ injector: modulerr] Failed to create a module application because of:
Error: [$ injector: nomod] The application module is not available!

However, I see that the module is loading from the client side:

Gulp Task: Note. This error only started when starting the pipeline through babel. If I delete babelminify, it will throw the same error.
gulp.task('scripts-dev', () => {
return gulp.src(paths.vendorJavascript.concat(paths.appJavascript, paths.appTemplates))
.pipe(plugins.if(/html$/, buildTemplates()))
.pipe(babel({
presets: [['es2015', {modules: false}]]
}))
//.pipe(babelminify())
.pipe(plugins.sourcemaps.init())
.pipe(plugins.concat('app.js'))
.pipe(plugins.sourcemaps.write('.'))
.pipe(gulp.dest(paths.tmpJavascript))
.pipe(plugins.connect.reload());
});
This error occurs even without modification.