A
A
Alex_front2022-02-11 16:44:16
JavaScript
Alex_front, 2022-02-11 16:44:16

How to make svg sprite work?

Hello. Setting up Gulp for a project, got to svg sprites, but the plugin throws an error:

[email protected] MINGW64 ~/Desktop/test

$ gulp
[16:37:52] Using gulpfile ~\Desktop\test\gulpfile.js
[16: 37:52] Starting 'default'...
[16:37:52] Starting 'htmlMinify'...
[16:37:52] Finished 'htmlMinify' after 179 ms
[16:37:52] Starting 'styles' ...
[16:37:53] Finished 'styles' after 476 ms
[16:37:53] Starting 'svgSprites'...
[16:37:53] 'svgSprites' errored after 141 ms
[16:37: 53] Error in plugin "gulp-svg-sprite"
Message:
Skipping "%s" (%s)
Details:
domainEmitter:

Before installing this plugin, browserSync worked, opened the browser page, and now the gulp command ends like this.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question