Skip to content

fix: VS Code Server docs chaosย #737

Description

@zerescas

๐Ÿ› The bug

There is a section in documentation about VS Code Server, but I can't get working it.

Part 1 - Follow the docs

Installing code-server from coder as proposes the docs leads to an error:

โ„น Nuxt DevTools: Starting VS Code Server at http://localhost:3080/?folder=%2Fapp ...
${{\color{red}{\textsf{ [2024-09-24T06:00:05.623Z] error Unknown option --accept-server-license-terms }}}}$

and tab with VS Code freezes with Starting...
image

Part 2 - Follow the VS Code tab

The tab VS Code has link that leads to the Microsoft website

Learn more about it with this guide.

image
Installing vscode-server and reloading Nuxt leads to new error:

โ„น Nuxt DevTools: Starting VS Code Server at http://localhost:3080/?folder=%2Fapp ...
${{\color{red}{\textsf{ /usr/local/bin/code-server: 2: Syntax error: newline unexpected }}}}$

Also launching code-server from CLI leads to errors:

root@3a11cfec517f:/app# code-server
${{\color{red}{\textsf{ /usr/local/bin/code-server: line 1: syntax error near unexpected token `newline' }}}}$

${{\color{red}{\textsf{ /usr/local/bin/code-server: line 1: `' }}}}$

As I could found, this error tied with replacing code-server with VS Code CLI

๐Ÿ› ๏ธ To reproduce

See "Additional context"

๐ŸŒˆ Expected behavior

Consistent and clear docs about VS Code Server because now next contradict each other:

  • VS Code Server - says to install code-server from coder
  • Tab VS Code in Nuxt devtools - says to install dropped code-server from Microsoft

And in the end nor of these ways working

โ„น๏ธ Additional context

I tried this on:

  • Ubuntu 24.04
  • Windows 11 + WSL2 + Docker Container with Nuxt app

To reproduce this, just use Nuxt example project

npx nuxi@latest init

and do steps from ๐Ÿ› The bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions