processing / processing-pi-website

Files for the pi.processing.org subdomain that documents Processing on the Raspberry Pi
https://pi.processing.org/
16 stars 10 forks source link

Using new version of Gulp #42

Closed msurguy closed 5 years ago

msurguy commented 5 years ago

This resolves issues with older version of Gulp (https://github.com/processing/processing-pi-website/issues/41)

Please give it a go (by doing rm -rf node_modules && npm install) and let me know if it's working well for you!

gohai commented 5 years ago

@msurguy Thanks - unfortunately this doesn't work for me

$ gulp
[08:47:13] Requiring external module @babel/register
/usr/local/lib/node_modules/gulp/bin/gulp.js:129
    gulpInst.start.apply(gulpInst, toRun);
                   ^

TypeError: Cannot read property 'apply' of undefined
msurguy commented 5 years ago

@gohai that is probably your globally installed Gulp not liking the new syntax. Please try this and let me know if that works: npm i -g gulp-cli