Cannon find the solution for a long period of time. When I use foundation watch everything is great, but every time I try to use foundation build I see this error:
[21:05:45] 'sass' errored after 5.91 s
[21:05:45] Error in plugin 'gulp-uncss'
Message:
Unexpected EOF
Details:
domainEmitter: [object Object]
domain: [object Object]
domainThrown: false
[21:05:45] 'build' errored after 6.31 s
[21:05:45] 'default' errored after 6.31 s
Error: foundation-emails-template@1.0.0 build: `gulp --production`
Exit status 1
at EventEmitter.<anonymous> (/usr/local/lib/node_modules/foundation-cli/node_modules/npm/lib/utils/lifecycle.js:217:16)
at emitTwo (events.js:106:13)
at EventEmitter.emit (events.js:194:7)
at ChildProcess.<anonymous> (/usr/local/lib/node_modules/foundation-cli/node_modules/npm/lib/utils/spawn.js:24:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
I also tried to delete the folder node_modules and install it again but nothing helps. How to fix it?