yuyz0112 / icomoon-cli Goto Github PK
View Code? Open in Web Editor NEWUnoffical automatic tool for your icomoon project
Unoffical automatic tool for your icomoon project
CLI:
icomoon-cli -i "1.svg," -s selection.json -n "1," -o output
Logs:
[icomoon-cli] Preparing...
[icomoon-cli] Started a new chrome instance, going to load icomoon.io.
[icomoon-cli] Dashboard is visible, going to upload config file
[icomoon-cli] Uploaded config, going to upload new icon files
#set0 .miBox:not(.mi-selected) is not visible after 60000ms.
The script used to work week or two ago, but today it just waits at [icomoon-cli] Started to download icomoon.zip and nothing happens
process.env.PWD is undefined on widowns, same isue a this project:
mrblueblue/gettext-loader#18 (comment)
Can you fix to use process.cwd() if PWD is undefined ?
Can I try to add implementation of support for generation of SVG Icons
FWIW, the first execution worked, but since then I'm getting this timeout error :
#set0 .miBox:not(.mi-selected) is not visible after 60000ms.
Thank you for creating and maintaing this package!
I'm trying to use it to add some icons, but keep getting an error on chrome-launcher
.
OSX 10.15.3
Chrome 80.0.3987.149
icomoon-cli ^1.3.2
It looks like the package depends on chromy
that depends on an older version of chrome-launcher
causing this issue.
The stack trace is as follows:
[icomoon-cli] Preparing...
[icomoon-cli] Started a new chrome instance, going to load icomoon.io.
{ Error
at new LauncherError (/Users/nipuna/Development/escooterapp/node_modules/chrome-launcher/dist/utils.js:35:22)
at new ChromeNotInstalledError (/Users/nipuna/Development/escooterapp/node_modules/chrome-launcher/dist/utils.js:66:9)
at Launcher.<anonymous> (/Users/nipuna/Development/escooterapp/node_modules/chrome-launcher/dist/chrome-launcher.js:145:27)
at Generator.next (<anonymous>)
at fulfilled (/Users/nipuna/Development/escooterapp/node_modules/chrome-launcher/dist/chrome-launcher.js:9:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
message: 'No Chrome installations found.',
code: 'ERR_LAUNCHER_NOT_INSTALLED' }
Are there any known work-arounds for this?
I am thinking of forking the library and re-doing the commands with puppeteer
. Any thoughts?
Seems it does not appear in started browser.
When building an iconset the process seems to "freeze".
Commandline output:
[icomoon-cli] Started a new chrome instance, going to load icomoon.io.
[icomoon-cli] Dashboard is visible, going to upload config file
[icomoon-cli] Selection icons is empty, going to create an empty set
[icomoon-cli] Uploaded config, going to upload new icon files
Error: Node is either not visible or not an HTMLElement
at ElementHandle._clickablePoint (/project/node_modules/puppeteer/lib/JSHandle.js:217:13)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async ElementHandle.click (/project/node_modules/puppeteer/lib/JSHandle.js:283:20)
at async DOMWorld.click (/project/node_modules/puppeteer/lib/DOMWorld.js:367:5)
at async pipeline (/project/node_modules/icomoon-cli/index.js:156:5)
-- ASYNC --
at ElementHandle.<anonymous> (/project/node_modules/puppeteer/lib/helper.js:111:15)
at DOMWorld.click (/project/node_modules/puppeteer/lib/DOMWorld.js:367:18)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async pipeline (/project/node_modules/icomoon-cli/index.js:156:5)
-- ASYNC --
at Frame.<anonymous> (/project/node_modules/puppeteer/lib/helper.js:111:15)
at Page.click (/project/node_modules/puppeteer/lib/Page.js:1067:29)
at pipeline (/project/node_modules/icomoon-cli/index.js:156:16)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Screenshot:
When version is provided in metadata, the downloaded bundle is not recognised and the script keeps looking for a filename that does not match the downloaded one.
Is there a way to define ligatures for the generated icons?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.