Binary does not work with WSL
See original GitHub issuevscode-remote
version: 1.31.0-20- OS Version: Windows 10 (rel 1809) - WSL Ubuntu 16.04.4 LTS
Steps to Reproduce
- Run WSL and try to run the executable
- Error:
-bash: ./code-server: cannot execute binary file: Exec format error
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:12 (5 by maintainers)
Top Results From Across the Web
WSL Doesn't run proper binary according to $PATH or `which`
I expect which to show me which binary is going to be run when I run a command. Very core and basic functionality...
Read more >Are the binaries in Windows Subsystem for Linux the same as ...
No. WSL is only Microsoft's interpretation of Linux, and doesn't have the same hardware access as a standalone ...
Read more >How to fallback to exe when linux binary is not available in Bash
What I need to be able to do is write scripts which work on both a regular Unix system, but also work on...
Read more >WSL | IntelliJ IDEA Documentation - JetBrains
WSL (WSL 2) - Windows Subsystem for Linux - is a compatibility layer for running Linux binary executables natively on Windows 10.
Read more >restart not working in new version of wsl (Ubuntu 16.04 on ...
In the new version of the WSL (Windows Subsystem for Linux) which installs Ubuntu 16.04 (you can install it if you upgrade to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah interesting. We compress the node binary prior to packaging, so that makes sense. Will add the additional target soon.
On Tue, Mar 5, 2019 at 3:26 PM DiegoBM notifications@github.com wrote:
We ended up skipping compression altogether (from 1.32.0-245 onward): https://github.com/codercom/code-server/commit/8bab787804912306821e50747699ce25ba1d22e9.