Unable to Build and Run Code Server Code in Windows Laptop #6957
Replies: 2 comments 17 replies
-
At the moment running on Windows is not supported but PRs to make it work are definitely welcome. #1397 |
Beta Was this translation helpful? Give feedback.
-
If we write code-server --command does it create new instance of server & activate command or it will call activate command and it will not create new server Or below code will work without code-server --command In extension.ts import * as vscode from 'vscode'; import * as express from 'express'; export function activate(context: vscode.ExtensionContext) {
} export function deactivate() {} In app.ts file import axios from 'axios'; import express from 'express'; const app = express(); app.use(express.json()); // To parse JSON request bodies // Sample route in app.ts to trigger the request to the extension's HTTP server app.post('/trigger-extension', async (req, res) => {
}); // Start the app.ts server on port 8080 app.listen(8080, () => {
}); |
Beta Was this translation helpful? Give feedback.
-
I have downloaded source code of code-server from github. Installed all the required packages in Windows Laptop. When I tried to run command yarn run build command in git bash, out folder is not getting generated. What could be issue? Is there any doc to build and run in local window OS laptop.
Beta Was this translation helpful? Give feedback.
All reactions