Open victorhooi opened 4 months ago
Describe the bug Unable to build XZG
I've setup a Debian machine, and per the README have installed npm (from Debian repos) and platformio (using their installer script).
However, when I try to run platformio run, I get the following error:
platformio run
Verbose mode can be enabled via -v, --verbose option
-v, --verbose
██╗░░██╗███████╗░██████╗░ ╚██╗██╔╝╚════██║██╔════╝░ ░╚███╔╝░░░███╔═╝██║░░██╗░ ░██╔██╗░██╔══╝░░██║░░╚██╗ ██╔╝╚██╗███████╗╚██████╔╝ ╚═╝░░╚═╝╚══════╝░╚═════╝░
Build: 20240730
Try to build WEB files
npm install --silent sh: 1: npm: not found Error 127 npx gulp xzg sh: 1: npx: not found Error 127
Finish building WEB files
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-solo1.html PLATFORM: Espressif 32 (2023.7.0) > Espressif Generic ESP32-solo1 4M Flash HARDWARE: ESP32 160MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated. *** [.pio/build/prod-solo/src/web.cpp.o] Error 1 ============================================================================================================ [FAILED] Took 6.98 seconds ============================================================================================================
Environment Status Duration
prod-solo FAILED 00:00:06.975 ======================================================================================================= 1 failed, 0 succeeded in 00:00:06.975 =======================================================================================================
Your machine doesn't have npm
Maybe it's better to clone the repository and build it in the cloud?
Describe the bug Unable to build XZG
I've setup a Debian machine, and per the README have installed npm (from Debian repos) and platformio (using their installer script).
However, when I try to run
platformio run
, I get the following error:`` $ platformio run Processing prod-solo (platform: https://github.com/tasmota/platform-espressif32/releases/download/2023.07.00/platform-espressif32.zip; board: esp32-solo1; framework: arduino)
Verbose mode can be enabled via
-v, --verbose
option██╗░░██╗███████╗░██████╗░ ╚██╗██╔╝╚════██║██╔════╝░ ░╚███╔╝░░░███╔═╝██║░░██╗░ ░██╔██╗░██╔══╝░░██║░░╚██╗ ██╔╝╚██╗███████╗╚██████╔╝ ╚═╝░░╚═╝╚══════╝░╚═════╝░
Build: 20240730
Try to build WEB files
npm install --silent sh: 1: npm: not found Error 127 npx gulp xzg sh: 1: npx: not found Error 127
Finish building WEB files
██╗░░██╗███████╗░██████╗░ ╚██╗██╔╝╚════██║██╔════╝░ ░╚███╔╝░░░███╔═╝██║░░██╗░ ░██╔██╗░██╔══╝░░██║░░╚██╗ ██╔╝╚██╗███████╗╚██████╔╝ ╚═╝░░╚═╝╚══════╝░╚═════╝░
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-solo1.html PLATFORM: Espressif 32 (2023.7.0) > Espressif Generic ESP32-solo1 4M Flash HARDWARE: ESP32 160MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:
include "webh/html/PAGE_VPN.html.gz.h"
compilation terminated. *** [.pio/build/prod-solo/src/web.cpp.o] Error 1 ============================================================================================================ [FAILED] Took 6.98 seconds ============================================================================================================
Environment Status Duration
prod-solo FAILED 00:00:06.975 ======================================================================================================= 1 failed, 0 succeeded in 00:00:06.975 =======================================================================================================