I seem to be having a problem with the foundation-emails-template build script. I've been sailing along quite nicely with npm start during development, but now that I'm ready to try out a production build, something fails when I run the build script and I was hoping someone would be able to help.
I don't have a lot of obvious clues to work with.
after running npm run build, I see the following
> [email protected] build <my long path...>
> gulp --production
Then this stuff...
[16:36:04] Requiring external module babel-register
[16:36:31] Using gulpfile ~\Projects\thisemailthing
[16:36:31] Starting 'default'...
[16:36:31] Starting 'build'...
[16:36:31] Starting 'clean'...
[16:36:31] Finished 'clean' after 63 ms
[16:36:31] Starting 'pages'...
[16:36:36] Finished 'pages' after 4.44 s
[16:36:36] Starting 'sass'...
[16:36:43] Finished 'sass' after 7.29 s
[16:36:43] Starting 'images'...
[16:36:50] gulp-imagemin: Minified 15 images (saved
[16:36:50] Finished 'images' after 6.89 s
[16:36:50] Starting 'inline'...
[16:37:10] 'inline' errored after 20 s
[16:37:10] Error in plugin 'gulp-inline-css' (This is where things seem to go wrong...)
(Then, there's a message which spits out the index.html file with css inlined)
(and after that, I get the following)
domainEmitter: [object Object]
domain: [object Object]
[16:37:10] 'build' errored after 38 s
[16:37:10] 'default' errored after 38 s
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `gulp --production`
npm ERR! Exit status 1
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I'm not sure what's going on. Would anyone have any recommendations on how to build this thing?
Thanks for any help.