*Sigh* I typed a whole post and it dit not save? ( only the code part ) ... Second attempt.
I'm trying to get a project that 'suddenly' stopt working when I want to build for production to get it working again. I checked my gulp / node and foundation cli versions and all are up to date. I tried to delete the node_modules folder and do a new npm_install. But the error's remain the same everytime. I can do 'foundation watch' fine but as soon as I try to build ( gulp --production) it fails on [build] and [default].
[09:56:53] 'build' errored after 6.88 s [09:56:53] 'default' errored after 6.88 s Error: [email protected] 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:191: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:191:7) at maybeClose (internal/child_process.js:852:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)