Gulp is failing

0 replies · opened Mar 10, 2024

CcarabsMar 10, 2024

I just downloaded your latest version and found a few things...

npm install
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: 'sass@1.63.6',
npm WARN EBADENGINE required: { node: '>=14.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }

It finishes compiling, but I am unsure how that affects things.

Next, when running gulp, it fails here:

.pipe( postcss([ autoprefixer() ]) )

Neither postcss or autoprefixer have been defined in the gulp script itself.

[14:29:51] ReferenceError: postcss is not defined
at compileSCSS (/home/xx/buildinggulp/canvas2-v7build/6-CanvasFiles/gulpfile.js:22:3)
at scsscompile (/home/xx/buildinggulp/canvas2-v7build/6-CanvasFiles/node_modules/undertaker/lib/set-task.js:13:15)
at bound (domain.js:427:14)
at runBound (domain.js:440:12)
at asyncRunner (/home/xx/buildinggulp/canvas2-v7build/6-CanvasFiles/node_modules/async-done/index.js:55:18)
at processTicksAndRejections (internal/process/task_queues.js:79:11)

and after I defined postcss:

[14:30:43] ReferenceError: autoprefixer is not defined
at compileSCSS (/home/xx/buildinggulp/canvas2-v7build/6-CanvasFiles/gulpfile.js:23:10)
at scsscompile (/home/xx/buildinggulp/canvas2-v7build/6-CanvasFiles/node_modules/undertaker/lib/set-task.js:13:15)
at bound (domain.js:427:14)
at runBound (domain.js:440:12)
at asyncRunner (/home/xx/buildinggulp/canvas2-v7build/6-CanvasFiles/node_modules/async-done/index.js:55:18)
at processTicksAndRejections (internal/process/task_queues.js:79:11)

Though quick fixes, this really should not be happening. I rely on these gulp scripts... they need to be reliable.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard