inkscape-open-symbols: Contributing : error when using gulp command
In 18.04 I installed npm, nodejs and gulp. But when I try the gulp part of the command, I get this error
$ gulp --iconset Action --dest Action
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'gulp-util'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/usr/lib/nodejs/gulp/bin/gulp.js:4:13)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
I even tried
sudo apt install gulp-util without success. What to do ? I am working a Material Icon set.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 32 (16 by maintainers)
I see. Ok. I will try to get the full pack. It will take hours, but I can try. 😃
That’s awesome!
Sets the color of the SVG, removing it allows the user to choose the color. Same for stroke
Sets a default attributes and does not allows users to change it. The one at the top sets the view in the preview under the symbols menu in inkscape
This is an accesibility feature for the web, does not make sense here
This sets the title, creator, and basic data about the icons. Will be used by Inkscape to display some info, like the iconset title.
You Should not be able to ungroup the icons since they are just symbols, not a path. If you want to edit the icons you should select the icon and Edit - Clone - Unlink clone
I fixed your icon set. What did I do?
fillattributesstyleattributes except one in thesvgtag.aria-hiddenattribute in thesvgtagmetadataat the top of the file to give some credits, context and title.Please review, edit the metadata and test Action 2T.zip
Yeah, that’s because it has some inline SVG code that doesn’t allow editing.
fillandstrokeattributes.Try again.
Yes, you just drop the files into the GUI and then you can export them as SVG sprite. This SVG can be loaded into inkscape.
I’ll check it. Is probably deprectaded
🤔 If you can get the
node --versionand thenpm --versionthen its wroking correctly. You shouldn’t have to install gulp since it should be self installed on this repo.You should go to the repo root folder and execute
npm installand should install all the required dependencies.Anyway, if you are crating a new iconset, this might be deprecated since there is a GUI tool that works amazing and is easier to use: https://icomoon.io/
did you
npm install?