Open LL607-sys opened 1 year ago
You could use WSL
You could use WSL
I tried it, it always gives me the Error, that the SCRATCH_SRC_HOME environment variable is not set.
Are you sure that's a Windows-specific issue, and not just that you haven't set the SCRATCH_SRC_HOME environment variable?
Are you sure that's a Windows-specific issue, and not just that you haven't set the SCRATCH_SRC_HOME environment variable?
I don't know, i just did it like i did in Codespaces. Except that i used the chmod Command on WSL, so i can run it. Still in Codespaces its Ranking and on WSL it gives me the Error.
When you're running in Codespaces, you're running in a container.
The container has the environment variable set https://github.com/dalelane/scratch-extension-development/blob/master/Dockerfile#L25
If you're choosing to run it in a different environment and in a different way, then this means you need to do everything that container was providing for yourself. That includes setting environment variables, but it includes other things as well.
Are you sure that's a Windows-specific issue, and not just that you haven't set the SCRATCH_SRC_HOME environment variable?
Do you have some Instructions published how to set all the variables to run it local?
No - I provided instructions for running it in Codespaces so that I could automate all of the setup in a known environment that has all of the prerequisites ready to go. I didn't want to get into documenting and supporting lots of other environments. It's not just about environment variables - because once you've done that, next it'll be how to install node and npm, how to create symlinks, etc.
Hi I want to build the Scratch App also on my local PC. Is there some solution to build the App, without needing to rewrite all the Linux Bash commands into a Windows Batch File?