ReferenceError: name is not defined
motss opened this issue · comments
The web walker commented
For unknown reason, it forces me to add in the property name
in order to use gulp-template
.
...
gulp.src(files)
.pipe(gulpTemplate({
name: 'random-name', // unknown required property `name`
... // rest of the data
})
,pipe(gulp.dest(dest));
...
Nicholas commented
Looks like you there is an error in the "pipe chain".
,pipe(gulp.dest(dest));
Should start with .
The end result must be something like this:
...
gulp.src(files)
.pipe(gulpTemplate({
name: 'random-name', // unknown required property `name`
... // rest of the data
})
.pipe(gulp.dest(dest));
...