ebelair / icon-banner

🚩 IconBanner adds custom nice-looking banners over your mobile app icons 📱
MIT License
32 stars 7 forks source link

No such file or directory - which convert (Errno::ENOENT) #3

Open TurnrDev opened 3 years ago

TurnrDev commented 3 years ago

Whenever I try to run on Windows, it just won't.. no idea why but here are logs.

PS C:\Users\Jay\Repositories\TrainerDexAssets> icon-banner generate '.\App\TrainerDex-App-Icon.png' --label 'Dev' --color '#ca3755' --font 'C:\Users\Jay\Downloads\Raleway\Raleway-ExtraBold.ttf' --platform 'all'

[21:27:14]: Error accessing file, this might be due to fastlane's directory handling
[21:27:14]: Check out https://docs.fastlane.tools/advanced/#directory-behavior for more details

C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/icon-banner-0.2.2/lib/icon_banner.rb:93:in ``': No such file or directory - which convert (Errno::ENOENT)
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/icon-banner-0.2.2/lib/icon_banner.rb:93:in `validate_libs!'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/icon-banner-0.2.2/lib/icon_banner/process.rb:13:in `generate'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/icon-banner-0.2.2/lib/icon_banner.rb:51:in `generate'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/icon-banner-0.2.2/lib/icon_banner.rb:33:in `block (2 levels) in run'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/fastlane-2.193.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:117:in `run!'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/icon-banner-0.2.2/lib/icon_banner.rb:47:in `run'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/icon-banner-0.2.2/lib/icon_banner.rb:15:in `start'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/icon-banner-0.2.2/bin/icon-banner:6:in `<top (required)>'
        from C:/Ruby30-x64/bin/icon-banner:25:in `load'
        from C:/Ruby30-x64/bin/icon-banner:25:in `<main>'

When I do ls App I do get results so it does exist:

PS C:\Users\Jay\Repositories\TrainerDexAssets> ls App

    Directory: C:\Users\Jay\Repositories\TrainerDexAssets\App

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          09/08/2021    15:33          35685 TrainerDex-App-Icon.png
-a---          09/08/2021    15:33         203383 TrainerDex-App-Splash-Empty.png
-a---          09/08/2021    15:33         215204 TrainerDex-App-Splash.png