Giter Club home page Giter Club logo

icomoon-cli's People

Contributors

emako avatar nipuna-g avatar qkdreyer avatar yuyz0112 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

icomoon-cli's Issues

[BUG] Cant gen single icon

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.

Timing out

FWIW, the first execution worked, but since then I'm getting this timeout error :

#set0 .miBox:not(.mi-selected) is not visible after 60000ms.

No Chrome installations found error

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?

Proess fails after icon upload

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:

screenshot

Support bundles with version in name

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.

Ligatures

Is there a way to define ligatures for the generated icons?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.