Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/usr/local/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/lib/fontcustom/options.rb:50:in set_config_path': undefined method exists?' for File:Class (NoMethodError) if File.exists? "fontcustom.yml" #399

Open
Wowoy opened this issue Jul 2, 2023 · 1 comment

Comments

@Wowoy
Copy link

Wowoy commented Jul 2, 2023

fontcustom compile /Users/xxx/... --no_hash true --force true ...
[21:44:49] Plumber found unhandled error:
Error in plugin 'gulp_fontcustom'
Message:
Command failed: fontcustom compile /Users/xxx/... --no_hash true --force true ...
Calling DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call DidYouMean.correct_error(error_name, spell_checker)' instead.
/usr/local/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/lib/fontcustom/options.rb:50:in set_config_path': undefined method exists?' for File:Class (NoMethodError)

    if File.exists? "fontcustom.yml"
           ^^^^^^^^

Did you mean? exist?
from /usr/local/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/lib/fontcustom/options.rb:18:in parse_options' from /usr/local/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/lib/fontcustom/options.rb:11:in initialize'
from /usr/local/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/lib/fontcustom/base.rb:12:in new' from /usr/local/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/lib/fontcustom/base.rb:12:in initialize'
from /usr/local/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/lib/fontcustom/cli.rb:83:in new' from /usr/local/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/lib/fontcustom/cli.rb:83:in compile'
from /usr/local/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor/command.rb:27:in run' from /usr/local/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in invoke_command'
from /usr/local/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor.rb:387:in dispatch' from /usr/local/lib/ruby/gems/3.2.0/gems/thor-0.20.3/lib/thor/base.rb:466:in start'
from /usr/local/lib/ruby/gems/3.2.0/gems/fontcustom-2.0.0/bin/fontcustom:5:in <top (required)>' from /usr/local/bin/fontcustom:25:in load'
from /usr/local/bin/fontcustom:25:in `

'

Details:
killed: false
code: 1
signal: null
cmd: fontcustom compile /Users/xxx/... --no_hash true --force true ...
[21:44:49] Plumber found unhandled error:
Error: write callback called multiple times
[21:44:49] Finished 'iconfont' after 693 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants