Join the Webstudio community

Updated last month

How to run app by VSCode & Docker

At a glance

The post indicates that the community member is able to run Docker successfully, but encounters an error when running the "pnpm dev" step. The comments suggest that the community members are facing similar issues when following the instructions in the documentation to run Webstudio in Docker with VS Code. Some community members have provided suggestions, such as adding "127.0.0.1 wstd.dev" to the /etc/hosts file, or using localhost instead of wstd.dev. However, there is no explicitly marked answer to the issue.

Useful resources
i run docker successfully but when i do "pnpm dev" step i get this error
Attachments
image.png
C8EA23FE-F85A-405B-A1CD-18050745A8C3.png
2
B
T
D
13 comments
i don't see this in document
Attachment
8522E6E0-085E-40C5-AC92-0DD7E6A9AE2F.png
but fail
Attachment
BEB6BFEF-1AA9-47C5-B86A-186D278E22C6.png
hi @TrySound
Please help me check. thanks
I get similar errors to @Tuấn Phong when following the guide in the docs on how to run Webstudio in Docker with VS Code. @TrySound Where is your screenshot from as I can't see it in the docs either?
Attachment
Screenshot_2024-11-05_134147.jpg
cc @Ivan Starkov
I use devcontainer with vscode, and gonna to remove all other sections. Probably some packages installed on mac/windows interfere with docker install etc
To better understand whats happening try clean fetch, into new folder, etc
And log here every step u did
Is there a fix to this issue yet? I run into the same error as others do above.
Attachment
image0.jpg
I was able to overcome this error, by adding “127.0.0.1 wstd.dev” to my /etc/hosts file. Now the dashboard and login works, but projects still don’t work. They are on subdomains of wstd.dev and thus are not reachable. I’m still figuring out a solution to this, but if anyone here knows how to do that, I’d appreciate any help. Hope this helps anyone, facing similar issues.
While I haven’t found a proper answer until now, I found some success with using localhost instead of wstd.dev. It gives you warnings, as ssl doesn’t work with localhost, but it works. Also make sure to also log in over the localhost route, as switching afterwards results in errors in the docker container. If I find a proper answer I will post it here.
Add a reply
Sign up and join the conversation on Discord