gulp-print

Passing a variable between pipes in Gulp 3.9.1

孤街浪徒 提交于 2021-01-28 05:29:39
问题 Using gulp 3.9.1 I am attempting to return a bunch of files and perform a task that requires a var to be passed between two pipes. I'm using node uuid to create a v3 UUID for each file path to ultimately end up with a uuid for each page. I'm grabbing the file path with gulp-print. I want to store that uuid value as a var. In the next pipe Im using gulp-inject-string to write it into the page during the build. Help: Either I need help getting the file path inside the gulp-inject-string pipe or

gulp : “TypeError: print is not a function”

前提是你 提交于 2019-12-10 18:04:22
问题 I am trying to build Semantic-UI with gulp in a directory, but I get having these errors : root@ks4000003:/var/www/mg.guylabbe.ca/web/inc/semantic# gulp build [10:36:53] Using gulpfile /var/www/clients/client1/web179/web/inc/semantic/gulpfile.js [10:36:53] Starting 'build'... Building Semantic [10:36:53] Starting 'build-javascript'... Building Javascript [10:36:54] 'build-javascript' errored after 19 ms [10:36:54] TypeError: print is not a function at Gulp.module.exports (/var/www/clients