-
Notifications
You must be signed in to change notification settings - Fork 238
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
problem setting up on Windows #1196
Comments
Welcome. A great alternative to the manual set-up is to use xs-dev. It is a tool that takes automates the installation and set-up on the Moddable SDK. If you have npm installed, here's all you have to do:
Good luck! |
Does the xsbug.exe file exist in the %MODDABLE%\build\bin\win\release folder? |
but I read in the manual xs-dev -- this installation option does not work with Windows, but I started with it, the macbook is waiting) - if I do the installation with the xs-dev option, I need to clean the computer from what I tried with manual installation == from a clean leaf? |
about : Does the xsbug.exe file exist in the %MODDABLE%\build\bin\win\release folder? |
I did the installation on Windows 11-64 strictly according to the instructions for manual installation - I never managed to create a folders bin\release - have only C:\Users\admin\Projects\moddable\build\ inside 3 other folders: device + makefile + simulators |
installation attempts with xs-dev end up with this message when trying to run a test project: C:\Users\admin\Projects\moddable>xs-dev run --example helloworld I install this: C:\Program Files\Microsoft Visual Studio\2022\Community>xs-dev setup --device win bud all bad(( |
my attempts for 3 days to install and start working with moddable sdk + esp and start learning java script - are not successful, probably I need to return to my favorite C language and development tools - too much time wasted just to install the environment on Win11 and MacOS . The tips found for installation on the Internet are in the nature of a secret society of gurus))) |
Sorry that you weren't able to get things working and the frustration it caused. I think both @NextWorldLab and I have been guessing about how to help you, because there haven't been many details in the reports here beyond "does not work." @HipsterBrown has been very successful helping developers through any problems using xs-dev. If you do decide to try again, I expect he would be able to suggest some ideas for tracking down what is going wrong on your setup. |
@HipsterBrown xs-dev + my frend - (working with js - writing servers software) help me instal node.js on my macbook (gave me commands that were not on the Internet) -- but what to do next? install moddableSDK? how to do examples code on my pc? how dounload to esp-esp32-pico-...? I really need step-by-step instructions for the first test project - if it succeeds, then everything will be clear |
need or no install xcode? when install esp sdk? |
for a start, you need minimal help - in simple words it will explain what and in what sequence to install (maybe - where to find it) |
ones more try install moddable win11: C:\Users\admin\Projects\examples\ch1-gettingstarted\host>mcconfig -d -m -p esp where is and how install -- mcconfig |
can see: C:\Users\admin\Projects\moddable\tools\mcconfig |
@granel2 have you read through the starting guide on the xs-dev docs? https://xs-dev.js.org/guide/00-prepare/ This walks through the initial system requirements, how to install the CLI, and how to start using it. |
I made a new attempt at a standard installation on Windows 11 - I went as far as creating an example and failed again. Now I'll try a fresh installation of Win11 from your link. |
√ Moddable SDK successfully set up! |
C:\Users\admin\Projects\moddable>xs-dev run --example helloworld C:\Users\admin\Projects\moddable>xs-dev setup --device win but in new window same : C:\Users\admin\Projects\moddable>xs-dev run --example helloworld |
I stopped at this and on the previous installation attempt |
one step left before my victory |
Thank you for trying again and posting the details from the run of xs-dev. It looks like, for some reason, xs-dev doesn't see the installed files in the new window. Let's see if @HipsterBrown has any suggestions for how to investigate what is going on. |
ok, try now |
I can't solve the problem myself(((( C:\Users\admin\Projects\moddable>xs-dev run --example helloworld |
Yes, I understand. Please wait a little to see if we can get you a suggestion to try. Thank you. |
ok)))))))))))) |
Could you please post a screenshot of the Command Prompt window where you're running mcconfig? My guess is that you are not using the Moddable Command Prompt that is installed by xs-dev. |
I tried to run in different terminals, even Power Shell) |
Interesting. I haven't tried running xs-dev in an Administrator Command Prompt before, but I don't see any obvious reason that should be a problem. Could you share the output of the |
moddale path not set? |
can not find xsbug.exe |
Did you get any errors during build? |
no, all was ok |
assembly of the working environment is absolutely manual and requires attention, there are many obscure dependencies, returning the state of the computer at the time of the start of the experiment to install the environment is also not an easy task. Do you really have an environment deployed on Win10 - 11 and you create projects in Java Script? |
C:\Users\admin\xs-dev\moddable |
after installing the XS-DEV components in automatic mode, the PC simulator immediately began to work for me, but then I installed all the components for microcontrollers manually, using the manual: |
I saw this program before)))) now she ran away from me))))) |
need clean all an reinstall ((( |
main and first -- clean all in env.variables in PC -- yes? |
Just in case, can you try resetting the environment variables? |
yes, now |
why path is debug? Is it a release mistake? |
it's my -- need release? |
installed a virtual machine + Windows 10 -64. |
in vmWare win10-64 -- I think all ok C:\Users\admin\xs-dev\moddable>xs-dev run --example helloworld --device esp\nodemcu C:\Users\admin\xs-dev\moddable>xs-dev setup --device esp8266 C:\Users\admin\xs-dev\moddable>xs-dev run --example helloworld --device esp\esp8266 C:\Users\admin\xs-dev\moddable>xs-dev run --example helloworld --device esp\nodemcu C:\Users\admin\xs-dev\moddable> |
need Python? which version? full or tool? |
install 'winget' + python |
C:\Users\admin\xs-dev\moddable>xs-dev run --example helloworld --device esp8266 C:\Users\admin\xs-dev\moddable>xs-dev run --example helloworld --device esp8266 --port COM3 =========================== |
I try add esp32, reseive next errors: ** Visual Studio 2022 Developer Command Prompt v17.7.2 [vcvarsall.bat] Environment initialized for: 'x86' Adding ESP-IDF tools to PATH... C:\Users\admin\xs-dev\moddable> |
after : xs-dev run --example helloworld --device=esp32 --port COM3 received: ** Visual Studio 2022 Developer Command Prompt v17.7.2 [vcvarsall.bat] Environment initialized for: 'x86' Adding ESP-IDF tools to PATH... Checking if Python packages are up to date... | Building and deploying project C:\Users\admin\xs-dev\moddable\examples\helloworld on esp32
C:\Users\admin\xs-dev\moddable> |
It's not clear to me if you restarted the Moddable Command Prompt between installing the ESP8266 pieces and trying to use them. In the screenshot above this post, it appears not. Make sure you do so to get the new environment variables loaded. |
I restarted the terminal and the computer and in the process of finding a solution. |
(Text moved here from #574)
installing Moddable SDK on win11 64 - using webpage manual -- C:\Program Files\Microsoft Visual Studio\2022\Community>xsbug
'xsbug' is not recognized as an internal or external command,
operable program or batch file.
it received in my x86 native tools comm.promt vs2022
further setup - installation fails when using step-by-step instructions
need help
The text was updated successfully, but these errors were encountered: