question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot run on Alpine on WSL2

See original GitHub issue

OS/Web Information

  • Web Browser: Edge
  • Local OS: Windows 10 build 21382.1
  • Remote OS: Windows 10 build 21382.1
  • Remote Architecture: x64
  • code-server --version: 3.10.1

Steps to Reproduce

  1. Install Alpine from windows store (Alpine v3.13)
  2. install curl on that Alpine : apk add curl
  3. run this command : curl -fsSL https://code-server.dev/install.sh | sh
  4. cd ~/.local/bin
  5. ./code-server

Expected

Actual

then this error appears :

DESKTOP-87K2O5K:~/.local/bin# ./code-server
./code-server: exec: line 36: /root/.local/lib/code-server-3.10.1/lib/node: not found

Any ideas ?

Logs

Screenshot

Notes

This issue can be reproduced in VS Code: Yes/No

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
parsalotfycommented, May 20, 2021

Please add alpine to your releases, current docker image runs on ubuntu and its size is about 100 mb Alpine is much more lightweight, I don’t know why this great project isn’t fully compatible with alpine

0reactions
jsjoeiocommented, May 19, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot run on Alpine on WSL2 #3413 - coder/code-server
Install Alpine from windows store (Alpine v3.13); install curl on that Alpine : apk add curl; run this command : curl -fsSL ...
Read more >
How to reset Alpine distro in WSL2?
1 Answer 1 · Open Windows Powershell in Windows Terminal. · Verify that Alpine is installed: wsl -l -v · Unregister Alpine: wsl...
Read more >
Windows 10: cannot run WSL (Ubuntu, Alpine, Docker)
0), running Windows 10 (10.0.19042), I cannot start Ubuntu any more, nor start Docker (Docker Desktop 3.2.2). WSL version is 5.4.72.
Read more >
Successfully Connect Alpine WSL 2 to Docker Desktop 2.2
This is perfectly normal. If this is a fresh Alpine WSL installation on Windows, you need to: 1) Make sure the Alpine distro...
Read more >
Modern Windows Workflow with WSL2, Alpine Linux, and Oh ...
Step by Step. Hit the Windows key, search: Microsoft Store and search: Alpine WSL; Install; Launch; Provide Enter new UNIX username and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found