Skip to content

Cant get code-server --link to work in termux #3400

@AirplanegoBrr

Description

@AirplanegoBrr

OS/Web Information

  • Web Browser:
  • Local OS: Andriod 8.1.0 using termux
  • Remote OS: Firefox windows10
  • Remote Architecture: ??
  • code-server --version: 3.10.0 f9b6d04

Steps to Reproduce

  1. Install with yarn add global code-server
  2. do code-server --link Get error

Expected

Code server would start and I would be able to get a code server link

Actual

I get a error spawn?

Logs

[2021-05-17T03:31:04.291Z] info code-server 3.10.0 f9b6d04
[2021-05-17T03:31:04.298Z] info Using user-data-dir ~/.local/share/code-server
[2021-05-17T03:31:04.385Z] info Using config file ~/.config/code-server/config.yaml
[2021-05-17T03:31:04.386Z] info HTTP server listening on http://127.0.0.1:56772/ (randomized by --link)
[2021-05-17T03:31:04.386Z] info - Authentication is disabled (disabled by --link)
[2021-05-17T03:31:04.387Z] info - Not serving HTTPS (disabled by --link)
[2021-05-17T03:31:04.419Z] error spawn /data/data/com.termux/files/home/.config/yarn/global/node_modules/code-server/lib/coder-cloud-agent ENOENT

Screenshot

image

Notes

I have tried to downgrade to 9.3.0 but Im getting a diff error (and I can post in comments what it was or edit this)

the normal code-server command does work but I would like to be able to acceses it from my computer/outside my network

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions