I’m having difficulties using the Sass functions with the Foundation theme.
Running npm start, the first issue was this error message:
gulp-sass 5 does not have a default Sass compiler; please set one yourself.
Both the `sass` and `node-sass` packages are permitted.
Adding the following line to gulpfile.js (taken from a forum post on the Papers theme) seemed to
resolve this: var sass = require('gulp-sass')(require('sass'));
However, I now get a different error:
$ npm start
> email@example.com start
[15:04:46] Using gulpfile ~/Documents/Omeka/Themes/foundation/gulpfile.js
[15:04:46] Starting 'default'...
[15:04:46] Starting 'sass'...
[15:04:46] The following tasks did not complete: default, sass
[15:04:46] Did you forget to signal async completion?
I’m not too familiar with Node, Gulp, Sass et al, so forgive me if there’s an obvious error!