Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Compiling and running compiled version with node . opens up a new VSCode Window #6994

Closed Answered by code-asher
sevetseh28 asked this question in Q&A
Discussion options

Hi, im running the project within a devcontainer.
I successfully compiled it, but when I do:
node . in the release folder as stated by the docs, I get:

vscode ➜ /workspaces/code-server/release (main) $ node . --auth none
[2024年09月10日T14:14:31.570Z] error Please specify at least one file or folder

So I run:
node . .

And right after that it opens a new VSCode Window (of my local VSCode IDE) instead, and the server doesn't start.
Any ideas?

Thanks!

You must be logged in to vote

Is this inside VS Code's integrated terminal? When inside the integrated terminal code-server always tries to open a file in the existing code-server instance. It does this by looking for the VSCODE_IPC_HOOK_CLI environment variable, so one way to get this to work is to unset it:

VSCODE_IPC_HOOK_CLI= node . --auth none

Replies: 2 comments

Comment options

Is this inside VS Code's integrated terminal? When inside the integrated terminal code-server always tries to open a file in the existing code-server instance. It does this by looking for the VSCODE_IPC_HOOK_CLI environment variable, so one way to get this to work is to unset it:

VSCODE_IPC_HOOK_CLI= node . --auth none
You must be logged in to vote
0 replies
Answer selected by sevetseh28
Comment options

Thank you so much for the insight! that worked 👌

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /