Coder Social home page Coder Social logo

Windows error when running about lv_img_conv HOT 3 OPEN

lvgl avatar lvgl commented on May 26, 2024
Windows error when running

from lv_img_conv.

Comments (3)

embeddedt avatar embeddedt commented on May 26, 2024

I hadn't tested the script on Windows. I expect it to work properly in Cygwin/MSYS2/Git Bash, but it indeed has problems when running in cmd.exe.

from lv_img_conv.

embeddedt avatar embeddedt commented on May 26, 2024

@gokhannsahin just contributed instructions to get this working in Windows if you clone it using Git.

from lv_img_conv.

billybednar avatar billybednar commented on May 26, 2024

The error is because of this line:

#!/usr/bin/perl -e$_=$ARGV[0];exec("/usr/bin/env\x20npx\x20ts-node\x20-s\x20@ARGV")

Because of that the generated command file node_modules\.bin\lv_font_conv.cmd expects to find Perl in \usr\bin on the current drive. You can test by copying a random program there (installing Perl there will likely not fix it since Perl will then try to run /usr/bin/env):

>mkdir \usr\bin
>copy %WINDIR%\System32\calc.exe \usr\bin\perl.exe
        1 file(s) copied.
>npm exec --no -- lv_img_conv
(calculator opens)
>

from lv_img_conv.

Related Issues (20)

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.