Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When running gulp, I get
/home/codio/workspace/sites/all/themes/sport_2014/node_modules/g
ulp-autoprefixer/node_modules/postcss/lib/lazy-result.js:157
this.processing = new Promise(function (resolve, reject)
{
^
ReferenceError: Promise is not defined
at LazyResult.async (/home/codio/workspace/sites/all/themes/
sport_2014/node_modules/gulp-autoprefixer/node_modules/postcss/l
ib/lazy-result.js:157:31)
at LazyResult.then (/home/codio/workspace/sites/all/themes/s
port_2014/node_modules/gulp-autoprefixer/node_modules/postcss/li
b/lazy-result.js:79:21)
at DestroyableTransform._transform (/home/codio/workspace/si
tes/all/themes/sport_2014/node_modules/gulp-autoprefixer/index.j
s:24:6)
at DestroyableTransform.Transform._read (/home/codio/workspa
ce/sites/all/themes/sport_2014/node_modules/gulp-autoprefixer/no
de_modules/through2/node_modules/readable-stream/lib/_stream_tra
nsform.js:159:10)
at DestroyableTransform.Transform._write (/home/codio/worksp
ace/sites/all/themes/sport_2014/node_modules/gulp-autoprefixer/n
ode_modules/through2/node_modules/readable-stream/lib/_stream_tr
ansform.js:147:83)
at doWrite (/home/codio/workspace/sites/all/themes/sport_201
4/node_modules/gulp-autoprefixer/node_modules/through2/node_modu
les/readable-stream/lib/_stream_writable.js:313:64)
at writeOrBuffer (/home/codio/workspace/sites/all/themes/spo
rt_2014/node_modules/gulp-autoprefixer/node_modules/through2/nod
e_modules/readable-stream/lib/_stream_writable.js:302:5)
at DestroyableTransform.Writable.write (/home/codio/workspac
e/sites/all/themes/sport_2014/node_modules/gulp-autoprefixer/nod
e_modules/through2/node_modules/readable-stream/lib/_stream_writ
able.js:241:11)
at write (/home/codio/workspace/sites/all/themes/sport_2014/
node_modules/gulp-sass/node_modules/through2/node_modules/readab
le-stream/lib/_stream_readable.js:623:24)
at flow (/home/codio/workspace/sites/all/themes/sport_2014/n
ode_modules/gulp-sass/node_modules/through2/node_modules/readabl
e-stream/lib/_stream_readable.js:632:7)
Comments
Comment #2
lsolesen CreditAttribution: lsolesen commentedCan be fixed by
and adding this to the top of your gulpfile.js:
Wonder whether it is caused by my version of node?
Comment #3
shadcn CreditAttribution: shadcn at Chapter Three commentedYeah I'm not seeing this issue on mine. Which version are you running?
Comment #4
lsolesen CreditAttribution: lsolesen commentedComment #5
shadcn CreditAttribution: shadcn at Chapter Three commentedI'm on:
Comment #6
shadcn CreditAttribution: shadcn at Chapter Three commentedClosing this issue. Feel free to reopen if you're still seeing the bug. Thanks.