I have an existing project created on my mac a while ago and hosted a repository on BitBucket. I'm now trying to set it up on my Windows 10 machine but without any luck. :/
I've cloned my repo in a local directory installed Docker installed WSL 2. But I have a ton of problems starting it up.
I've also run composer install, added my .env file,
Installed remote development in VS Code and when I try to open it I'm getting this error:
[2021-01-10 23:24:37.303] /root/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/server.sh: line 12: /root/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523/node: not found[2021-01-10 23:24:37.303] VS Code Server for WSL closed unexpectedly.
And now I'm completely stuck and have no idea how to continue developing my existing project on Windows...
Yes, I've used laravel sail when I started my project on my Mac machine. But now after moving to Windows 10 I can't pull that same project and just continue where I left it.
Installed Docker, WSL2, cloned my repo but can't start it from VS Code inside WSL. I should be able to just run in my terminal:
wsl
code .
But when I try it "code ." (to open my codebase remotely in VS Code) I just get an error mentioned in my first post.
Yeah I used to do it like that but now with Laravel 8 and containers it's slightly different and I'm a bit lost :D
I should be able to rebuild my docker image and just continue from where I left it because I have my docker-compose.yml file. I've read the documentation bunch of times but there is not that much saying about setting it up Laravel Sail on Windows. There is much easier to follow it on Mac/Linux.
it's slightly different and I'm a bit lost :D I should be able to rebuild my docker image
Of course you should, it's the function of docker, but if you have pb, you'll probably spend less time rebuild a fresh docker laravel environment with the "brute method"