Closed kolnogorov closed 6 years ago
Sorry, i got it, it was my problem; really sorry about that!
@kolnogorov mind to share what the solution was? Have a same issue...
I'm also running into this UnhandledPromiseRejectionWarning
error running the latest version of the package.
"gulp-svg-sprite": "^1.4.0",
node -v
v8.12.0
gulp -v
[13:22:28] CLI version 1.4.0
[13:22:28] Local version 3.9.1
Also running into this UnhandledPromiseRejectionWarning
"gulp-svg-sprite": "^1.4.0",
node -v v10.10.0
gulp -v [14:49:00] CLI version 2.0.1 [14:49:00] Local version 3.9.1
I figured out the problem, it has to do with the new release of SVGO on npm which is a dependency of svg-sprite
which gulp-svg-sprite
is dependant on.
It seems the latest version of svgo
causes svg-sprite
to throw an exception with any SVG file (I think it's a compatibility issue similar to https://github.com/svg/svgo/issues/1030).
I was able to "fix" this by reverting gulp-svg-sprite
to 1.3.7 (and clearing my node_modules
folder).
Hello!
When i'm using template, i have the following error:
If i remove the template including, everything works ok.
My gulpfile is:
All paths and filenames seem to be correct. Have no idea why the error happens. Thank you.