arduino / arduino-cli

Arduino command line tool

Home Page:https://arduino.github.io/arduino-cli/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error compile

LEKPHET-KUNSUE opened this issue · comments

Describe the problem

error when I use this command

arduino-cli compile src/Blink.ino --fqbn "esp32:esp32:esp32doit-devkit-v1"

error:

import serial

module not found

To reproduce

I try to compile
but cannot

Expected behavior

new file firmware.bin

Arduino CLI version

3.016

Operating system

Linux

Operating system version

22.00

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details
  • Probrem solved
  • did you go to my GitHub site

Hi @LEKPHET-KUNSUE. Thanks for your interest in this open source project. This issue tracker is only to be used to report bugs or feature requests specific to the project. The error you got is simply a result of you not having correctly configured your computer to compile sketches for ESP32 boards. We do not provide assistance here on GitHub so this issue is off topic.

If you would like assistance, feel free to post over on Arduino Forum. I'm sure we will be able to help you out over there:

https://forum.arduino.cc/