I’m assuming SKIPPING OPTIONAL DEPENDENCY for fsevents isn’t causing a problem.
However, likely more significantly, when I run “gulp scripto” I get the following error:
[root@cloud71854 papers]# gulp scripto [09:21:33] Using gulpfile /home/trcadmin/public_html/themes/papers/gulpfile.js [09:21:33] Starting ‘scripto’… [09:21:33] Starting ‘compileCss’… [09:21:33] ‘compileCss’ errored after 243 ms [09:21:33] TypeError: require(…).with is not a function at compileCss (/home/trcadmin/public_html/themes/papers/gulpfile.js:13:62) at bound (domain.js:416:15) at runBound (domain.js:427:12) at asyncRunner (/home/trcadmin/public_html/themes/papers/node_modules/async-done/index.js:55:18) at processTicksAndRejections (internal/process/task_queues.js:77:11) [09:21:33] ‘scripto’ errored after 247 ms
I’d appreciate help resolving the error with “gulp scripto” .
Hi Paul, this is something that is about to be fixed in the next release. In your theme directory, can you go to gulpfile.js and replace line 4 with the following:
[root@cloud71854 papers]# gulp scripto [12:42:36] Using gulpfile /home/trcadmin/public_html/themes/papers/gulpfile.js [12:42:36] Starting ‘scripto’… [12:42:36] Starting ‘compileCss’… [12:42:36] ‘compileCss’ errored after 481 ms [12:42:36] TypeError: require(…).with is not a function
at compileCss (/home/trcadmin/public_html/themes/papers/gulpfile.js:13:62)*
at bound (domain.js:416:15)*
at runBound (domain.js:427:12)*
at asyncRunner (/home/trcadmin/public_html/themes/papers/node_modules/async-done/index.js:55:18)*
at processTicksAndRejections (internal/process/task_queues.js:77:11)* [12:42:36] ‘scripto’ errored after 485 msemphasized text*
FYI - here’s the gulpfile.js:
‘use strict’;
var gulp = require(‘gulp’);
function compileCss() {
var sass = require(‘gulp-sass’)(require(‘sass’));*