Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows binary #259

Closed
lazeebee opened this issue Mar 15, 2019 · 20 comments
Closed

windows binary #259

lazeebee opened this issue Mar 15, 2019 · 20 comments

Comments

@lazeebee
Copy link

whats the timeline of the windows binary release?

@kylecarbs
Copy link
Member

kylecarbs commented Mar 15, 2019

The windows binary is actually very close to working!

I believe the only change we need to make is including the additional files w/ node-pty that windows will output in the Release/build dir.

Edit: As for timeline, we don't have an exact date. We're focusing on improving support for Mac & Linux. If enough interest grows for Windows support, we will be sure to take notice.

@OneCyrus
Copy link

i'm interested in a windows version as well

@nol166
Copy link
Contributor

nol166 commented Mar 21, 2019

@lazeebee I believe we have a new bundler in the works that should get us one step closer to getting the windows binary working

@MichaelDesantis
Copy link
Contributor

New Bundler for binary has been released! @nol166 Maybe we can re-test this? (I think Justin has a windows machine, no?)

@fMichaleczek
Copy link

@multishifties I would like to test the new bundler, where I can find it ?
I'm a PowerShell developper and I need to use VSCode on Windows to develop for Windows PowerShell Edition. It's why a windows or windows Docker build is a requirement for me.

@MichaelDesantis
Copy link
Contributor

@fMichaleczek new Binary compiler is located here https://github.com/codercom/nbin Code-server uses this now instead of Nexe

AFAIK, it SHOULD allow you to compile for any platform where Node.js is supported. But I haven't had a chance to test it extensively yet.

@fMichaleczek
Copy link

@multishifties I will try to test this week and give feedback on nbin repo.

@DiegoBM-DB
Copy link

Was anybody able to produce a Windows binary? Even if beta test only..

@max-hk
Copy link
Contributor

max-hk commented Oct 26, 2019

Any updates?

Is there an expected time when Windows build will be available?

@sr229
Copy link
Contributor

sr229 commented Oct 26, 2019

@MaxLOh Windows builds are low priority since there is more demand for ARM builds than Win32 builds.

@max-hk
Copy link
Contributor

max-hk commented Oct 27, 2019

@sr229 Vote for windows binary. Hope we can get it one day.

BTW, is there any guides to use code server with WSL?

@ikarstein
Copy link

ikarstein commented Nov 6, 2019

I wait for it too. What needs to be done?

@nhooyr
Copy link
Contributor

nhooyr commented Jan 29, 2020

#1306 will fix this.

@DarshanaSubhash
Copy link

Guys, I am looking for VSCode binary on windows.Any help is much appreciated.
Thanks in advance

@code-asher
Copy link
Member

@DarshanaSubhash We don't publish Windows releases at the moment but you can try installing with yarn. https://github.com/cdr/code-server/blob/master/doc/install.md#yarn-npm

@iwillreku3206
Copy link

I just tried installing via yarn using the command yarn global add code-server but then upon typing code-server I get this error:

internal/modules/cjs/loader.js:1032
  throw err;
  ^

Error: Cannot find module 'C:\Users\Windows\AppData\Roaming\npm\node_modules\code-server\out\node\entry.js'     
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)
    at Function.Module._load (internal/modules/cjs/loader.js:898:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

I am running Windows 10, node version 14.3.0, yarn version 1.22.10

@ghost
Copy link

ghost commented Jan 3, 2021

I just tried installing via yarn using the command yarn global add code-server but then upon typing code-server I get this error:

internal/modules/cjs/loader.js:1032
  throw err;
  ^

Error: Cannot find module 'C:\Users\Windows\AppData\Roaming\npm\node_modules\code-server\out\node\entry.js'     
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)
    at Function.Module._load (internal/modules/cjs/loader.js:898:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

I am running Windows 10, node version 14.3.0, yarn version 1.22.10

same it crashes for me too

@max-hk
Copy link
Contributor

max-hk commented Jan 3, 2021

I just tried installing via yarn using the command yarn global add code-server but then upon typing code-server I get this error:

internal/modules/cjs/loader.js:1032
  throw err;
  ^

Error: Cannot find module 'C:\Users\Windows\AppData\Roaming\npm\node_modules\code-server\out\node\entry.js'     
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)
    at Function.Module._load (internal/modules/cjs/loader.js:898:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

I am running Windows 10, node version 14.3.0, yarn version 1.22.10

Do C:\Users\Windows\AppData\Roaming\npm\node_modules\code-server\out\node\entry.js exists?

Maybe the path is too long for Windows' file system and the file didn't get downloaded to the folder.

You will also need Python to be installed in your machine as node-gyp requires Python to build.

@mkanet
Copy link

mkanet commented Feb 5, 2021

Is there a Windows binary yet? If so, where is the download for it?

@syKevinPeng
Copy link

I just tried installing via yarn using the command yarn global add code-server but then upon typing code-server I get this error:

internal/modules/cjs/loader.js:1032
  throw err;
  ^

Error: Cannot find module 'C:\Users\Windows\AppData\Roaming\npm\node_modules\code-server\out\node\entry.js'     
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)
    at Function.Module._load (internal/modules/cjs/loader.js:898:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

I am running Windows 10, node version 14.3.0, yarn version 1.22.10

Do C:\Users\Windows\AppData\Roaming\npm\node_modules\code-server\out\node\entry.js exists?

Maybe the path is too long for Windows' file system and the file didn't get downloaded to the folder.

You will also need Python to be installed in your machine as node-gyp requires Python to build.

Hi, I encountered the same issue. The path you mentioned doesn't exist, and I have python installed. Also, I noticed that the script "~/AppData/Local/Yarn/Data/global/node_modules/code-server/postinstall.sh" was opened by the Vscode during the installation. It's looks like it not excuted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

17 participants