Closed coffandro closed 1 year ago
It's still en error with the lv_img_conf
npm executable. Seems nothing concerning the littlefs-do
executable. I think the build will succeed if you disable resource generation
Traceback (most recent call last):
File "/mnt/c/Users/Cornelius/InfiniSim/InfiniTime/src/resources/generate-img.py", line 56, in <module>
main()
File "/mnt/c/Users/Cornelius/InfiniSim/InfiniTime/src/resources/generate-img.py", line 51, in main
subprocess.check_call(line)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/mnt/c/Users/Cornelius/InfiniSim/node_modules/.bin/lv_img_conv', '/mnt/c/Users/Cornelius/InfiniSim/InfiniTime/src/resources/images/pine_logo.png', '--force', '--output-file', 'pine_small.bin', '--color-format', 'CF_TRUE_COLOR_ALPHA', '--output-format', 'bin', '--binary-format', 'ARGB8565_RBSWAP']' returned non-zero exit status 1.
Try to run the failing command (the one with lv_img_conv
) directly in the shell.
just merged https://github.com/InfiniTimeOrg/InfiniSim/pull/122 stating a minimum version of nodejs of 14.0 and issueing a warning if a lower version is deteted.
Although it seems 14.0 isn't quite the lowest version as our Ubuntu 22.04 base build fails as well
Maybe https://github.com/InfiniTimeOrg/InfiniSim/issues/120 helps you, as they've found that downgrading (or pinning) of the @swc/core@1.3.80
package (anything below 1.3.83
) resolves the issue
That fixes it
The swc thingy or the disable resources flag?
On September 18, 2023 8:56:00 AM GMT+02:00, Cornelius Andreas Rosenaa @.***> wrote:
That fixes it
-- Reply to this email directly or view it on GitHub: https://github.com/InfiniTimeOrg/InfiniSim/issues/121#issuecomment-1722845458 You are receiving this because you commented.
Message ID: @.***> -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Installing the @swc/core@1.3.80
instead of newest version, i think it should be added to the install instructions
We are working on a solution that likely won't require downgrading packages.
Yes Feedback on https://github.com/InfiniTimeOrg/InfiniTime/pull/1863 would be highly appreciated
Just FYI, this also fixed the same problem for me. Changed the install step to:
npm install ts-node@10.9.1 @swc/core@1.3.80 lv_img_conv@0.3.0
Cheers.
I run
cmake -S . -B build
which builds fine but when i runcmake --build build -j4
i get the following output and errors