codesandbox / codesandbox-client

An online IDE for rapid web development
https://codesandbox.io
Other
13.04k stars 2.27k forks source link

VSCode Server Fails to Start When Creating Docker Project: "/vscode/1.89.1.24130/node: not found" #8616

Open thefatdeveloper opened 1 week ago

thefatdeveloper commented 1 week ago

image

🐛 bug report

Preflight Checklist

Description of the problem

When attempting to create a project in CodeSandbox using the Docker template, the process gets stuck at the VS Code server boot up stage. The server fails to start, preventing the project from being created.

How has this issue affected me ? What am I trying to accomplish?

This issue is preventing me from creating and working on a Docker-based project in CodeSandbox. I'm unable to proceed with my development work due to this error.

To Reproduce

  1. Open CodeSandbox
  2. Attempt to create a new project using the Docker template
  3. Wait for the project to initialize
  4. Observe that the process gets stuck at "Starting VSCode server..."
  5. Check the console output, which shows an error: "/vscode/1.89.1.24130/node: not found"

Link to sandbox: [link]() (optional)

(https://codesandbox.io/p/github/thefatdeveloper/nginx-docker-example/main?workspaceId=17d20f2e-9c30-4441-8067-800d0e9d3ceb)

Need Help in resolving this.

ProchaLu commented 1 week ago

When starting a project directly from GitHub and changing the URL to githubbox, I also encounter the following error:

> /vscode/1.89.1.24130/bin/codium-server --port 50000-50100 --connection-token-file /var/run/pitcher/.vscode/1.89.1.24130/.token
/vscode/1.89.1.24130/bin/codium-server: line 12: /vscode/1.89.1.24130/node: not found

Additionally, a small popup window is visible that the VS Code Server initialization was skipped

Screenshot 2024-09-18 at 12 33 11

As a workaround, you can skip it by clicking on "Skip VS Code initialization"

thefatdeveloper commented 1 week ago

Yeah, i tried skipping that step, but problem is GIT workflow will fail and you will not be able to checkin any code back :(

filipelima18 commented 2 days ago

Hi @thefatdeveloper, Are you still experiencing this issue? I was unable to reproduce it. Clearing your browser cache and cookies might help - but let me know if that doesn't work and we can look into it.

ProchaLu commented 2 days ago

@filipelima18 Tried it with the incognito mode of Google Chrome, didn't experience any issue