HipsterBrown / xs-dev

The quickest way for getting started with JS on devices
https://xs-dev.js.org
MIT License
37 stars 13 forks source link

Device setup error on RPi5: python-setuptools has no installation candidate #151

Closed intGus closed 9 months ago

intGus commented 9 months ago

I get this error on a Raspberry Pi 5 with Bookworm when trying to setup a esp32 device:

exitCode: 100, signal: undefined, signalDescription: undefined, stdout: undefined, stderr: "E: Package 'python-setuptools' has no installation candidate", failed: true, timedOut: false, isCanceled: false, killed: false

I went to Moddable website and followed their instructions to install the SDK and I realised they have the same command. I think it should be python3-setuptools since I tried and installed everything correctly but xs-dev is not recognising that installation and the device setup won't continue.

HipsterBrown commented 9 months ago

@intGus Thanks for reporting! If you'd like to contribute the fix, here is the line that needs to be updated to use python3-setuptools instead of python-setuptools. Thanks for trying out xs-dev. 😄 https://github.com/HipsterBrown/xs-dev/blob/main/src/toolbox/setup/esp32/linux.ts#L9

intGus commented 9 months ago

I would love to contribute and will do it in a bit. I just fixed it locally and it worked. Now I'm trying to get my esp32-s2 recognized.

HipsterBrown commented 9 months ago

This fix has been released in version 0.28.1 🚀 Thanks for your contribution!