fourkitchens / emulsify-gulp

Gulp setup to be used with https://github.com/fourkitchens/emulsify
19 stars 46 forks source link

CSS compilation breaks with node-normalize-scss version 8.0.2 or greater #123

Open mikeethedude opened 4 years ago

mikeethedude commented 4 years ago

The current package.json file allows for node-normalize-scss@^8.0.0 This allows for version 8.0.2 or greater to be installed and they do not work with the gulp css command. I don't know why it doesn't exactly, but there was a recent change a few days ago that has made this stop working. Requiring 8.0.0 or 8.0.1 fixes the issue.

Error when running gulp css:

[20:26:05] Starting 'css'...
[20:26:05] 'css' errored after 9.19 ms
[20:26:05] TypeError: require(...).with is not a function
    at Gulp.cssCompile (node_modules/emulsify-gulp/gulp-tasks/gulp-css.js:28:60)
    at module.exports (node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (node_modules/orchestrator/index.js:134:8)
    at /usr/local/lib/node_modules/gulp/node_modules/gulp-cli/lib/versioned/^3.7.0/index.js:79:20
    at /usr/local/lib/node_modules/gulp/node_modules/gulp-cli/lib/shared/require-or-import.js:29:33
    at process._tickCallback (internal/process/next_tick.js:61:11)