Replies: 10 comments 9 replies
-
because the pre:script wasn't there at this time. if you have a working webapp, you can simply disable said pre:script which was introduces one or two weeks ago, because of several "firmware not working" issues, where the webapp wasn't compiled beforehand by the user. |
Beta Was this translation helpful? Give feedback.
-
Thank you spcqike for your quick reply! Problem solved! Thanks again :-) |
Beta Was this translation helpful? Give feedback.
-
Hold on... So the script prevented you from building a firmware with an outdated webapp and complaining that the webapp/firmware would not work as expected. Good for us. spcqike helped you work around the issue. Good for you. However, the pre-script should work inside vscode as well. That's expected. So how can this be a problem? Please tell me: Does the issue persist after you restarted vscode after installing yarn? How did you install yarn/nodejs and did you install it "locally" or something like that? |
Beta Was this translation helpful? Give feedback.
-
Hello schlimmchen, the issue also persits after i restarted vscode. I also tried different versions of yarn/nodejs, installed it manually with msi files, deinstalled it, installed it globally via npm, checked the system environmentals, restarted system,...nothing worked. After uncommenting line 53, building the web app and then compiling, everything works as expected. |
Beta Was this translation helpful? Give feedback.
-
"Exception: it seems 'yarn' is not installed/available on your system:" I have the same problem, I want to compile my own version and do not even know what to H yarn is !?!? The Workaround: Do not work.... I get now: Compiling .pio\build\opendtufusionv2__compiled_constants.c.o and
I also tried to install many versions of yarn inside VSC "Extensions"....Yarn installer , Yarn-UI, Yarn build, I also I installed Yarn from the Homepage https://yarnpkg.com/ In the end I uninstalled all this because it do not change anything. I find this should be installed from VSC automatically, like other packages when they are not allready installed. I will stay at the current Firmware version untill this problem is solved, because currently there is no need for me to Update. Currently I am on version 2024.8.18 which I had to install over the webinstaller because the compiling problem. The only difference is that the systeminfo do not show the ammount of PSRAm because the -DBOARD_HAS_PSRAM=1 switch is not set. May be I find the way to get YARN working in the future... |
Beta Was this translation helpful? Give feedback.
-
Habe das gleiche Problem VS Code |
Beta Was this translation helpful? Give feedback.
-
My Solution: I go back to 24.6.3. if I want to change something for my needs. The description in https://opendtu-onbattery.net/firmware/compile_webapp/
|
Beta Was this translation helpful? Give feedback.
-
I tryed allredy to google some informations about it, but it doesn't change something because there often HowTo's for Linux and they often do not make any difference between the Operation systems. There is no fast solution for it. Also Snoopy-HSS has the same problem and he allready worked with this yarn. You can not expect that everyone is an perfect programmer which know everything about VSC and all of its Addons. As long there is no good How To for Windows I will let it allone! "I heard about "powershell" but never use it or read more than the word itself. In the most cases I used CMD Promt for the Windows things I had to do. Like I said, I will wait until there is some progress in VSC , I also have the option to use the precompiled version in the meantime. Till now I had never such problems to compile an Github projekt, in the most cases there was an more or less good way out of compiling errors. I don't want that anyone waste further time on it, I wait some time and I am sure that there comes an better "How To" arround the corner in the future. |
Beta Was this translation helpful? Give feedback.
-
Weiter in #1255. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. |
Beta Was this translation helpful? Give feedback.
-
Hello all,
I have a problem compiling the .bin for WT32-ETH01 to update my old firmware from last year.
In Visual Studio Code I get an error that yarn is missing. But yarn is installed on the computer. By entering yarn -v i get the version 4.4.1. Also the right folder is added to the system nvironment variables (PATH).
I checked it on two computers, but always got the same error.
When I compiled the old firmware mid 2023 i had no problems with it.
Also the build of the webApp seems to work (?).
I also can find yarn -v inside the PlatformIO Terminal or the shell environment (s. Screenshot).
Only the compiliation does not work.
Does someone has an idea what could be the problem?
Unfortunately there is no precompiled firmware that I can use on github for the WT32-ETH01, so there is no way around for me to compile.
Or would it be possible to also put the pre-compiled bins for the WT32-ETH01 on github?
Thank you.
Matthias
Beta Was this translation helpful? Give feedback.
All reactions