-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ninja failed with exit code 1, windows popup asking how to open .sh file #18
Comments
You'll need to build from a bash environment in windows. WSL2 would be my recommendation. |
Somewhat related to #12 |
Thanks, now I get `FAILED: CMakeFiles/www /home/frod123/esp/esp-idf/smoke-x-receiver/build/CMakeFiles/www npm ERR! A complete log of this run can be found in: C:\Users\frod1\AppData\Local\npm-cache_logs\2023-12-04T12_54_34_454Z-debug-0.log
'\wsl.localhost\Ubuntu\home\frod123\esp\esp-idf\smoke-x-receiver\web_ui' Running in ubuntu wsl2 environment |
So I decided to use a Ubuntu VM instead. Thought it was going better. But it still gets stuck at the same step. With this error. `storage,data,spiffs,0x210000,1M, [131/778] cd /home/felix/esp/esp-idf/s...ix/esp/esp-idf/smoke-x-receiver/web_ui up to date, audited 285 packages in 2s 60 packages are looking for funding 5 vulnerabilities (4 moderate, 1 high) To address issues that do not require attention, run: To address all issues (including breaking changes), run: Run
file:///home/felix/esp/esp-idf/smoke-x-receiver/web_ui/node_modules/vite/bin/vite.js:7 SyntaxError: Unexpected reserved word |
Nevermind... Learned how to read and update nodejs :) Working great! Thank you for making this sweet tool!! |
i'm having same issue. tried in windows, WSL2, virtual box. same issue i'm getting the complete build files but when i goto flash i'm getting this error
FAILED: CMakeFiles/spiffs_storage_bin C:/Espressif/smoke-x-receiver/smoke-x-receiver/build/CMakeFiles/spiffs_storage_bin RuntimeError: given base directory C:/Espressif/smoke-x-receiver/smoke-x-receiver/web_ui/dist does not exist |
in ubuntu when i do idf.py set-target esp32s3 here's the info from the esp32s3 target idf.py set-target esp32s3
is not a full path and was not found in the PATH. Tell CMake where to find the compiler by setting either the environment CMake Error at /home/linux/esp/esp-idf/tools/cmake/project.cmake:381 (__project):
is not a full path and was not found in the PATH. Tell CMake where to find the compiler by setting either the environment CMake Error at /home/linux/esp/esp-idf/tools/cmake/project.cmake:381 (__project):
is not a full path and was not found in the PATH. Tell CMake where to find the compiler by setting either the environment -- Warning: Did not find file Compiler/-ASM |
cmake errorlog.... Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. The output was: Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. The output was: Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. The output was: Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. The output was: Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. The output was: Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. The output was: Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. |
For those that come behind this was MANY things and no one thing fixed everything.
now .sh is running but now I have all sorts of node errors. it should have been easier but no matter which of the 3 methods i tried,nothing was easy. and all required some tinkering and some manipulation but it's working now and I learned a bunch of new linux commands and made up some new bad words. thanks for this it seems to work well. for anyone coming after. read the screen and search the error log. i actually had to do a screen record to catch on of the errors because it went by so fast and didn't make it to the log. assign .sh a file handler like git |
I cannot complete the flashing step due to this error:
FAILED: CMakeFiles/www C:/Espressif/frameworks/esp-idf-v4.4/smoke-x-receiver/build/CMakeFiles/www cmd.exe /C "cd /D C:\Espressif\frameworks\esp-idf-v4.4\smoke-x-receiver\build && C:\Espressif\frameworks\esp-idf-v4.4\smoke-x-receiver\web_ui\build.sh C:/Espressif/frameworks/esp-idf-v4.4/smoke-x-receiver/web_ui" /bin/bash: C:\Espressif\frameworks\esp-idf-v4.4\smoke-x-receiver\web_ui\build.sh: No such file or directory
Been tearing my hair out trying to figure out why. I'm sure it's a simple fix. Any ideas? Whenever this step comes up, I get a popup from windows asking how to open the .sh file.
The text was updated successfully, but these errors were encountered: