Skip to content

Code-server is not starting #316

@mahirchavda

Description

@mahirchavda
  • Binary : code-server-1.32.0-310-linux-x64.tar.gz
  • OS Version : CentOS Linux 7 (VM)

Description

  • Code server is not starting, getting following error :
[root@desk code-server-1.32.0-310-linux-x64]# ./code-server files/
INFO  code-server v1.32.0-310
INFO  Additional documentation: http://github.com/codercom/code-server
INFO  Initializing {"data-dir":"/root/.local/share/code-server","working-dir":"/root/m/code-server-1.32.0-310-linux-x64/files","log-dir":"/root/.cache/code-server/logs/20190322113304427"}
INFO  Starting webserver... {"host":"0.0.0.0","port":8443}
WARN  No certificate specified. This could be insecure.
WARN  Documentation on securing your setup: https://coder.com/docs
INFO
INFO  Password: 3f5ac8877349cfe5d5254c00
INFO
INFO  Started (click the link below to open):
INFO  http://localhost:8443/
INFO
INFO  Starting shared process [1/5]...
/root/m/code-server-1.32.0-310-linux-x64/code-server:340
 */var r=/["'&<>]/;e.exports=function(e){var t,n=""+e,i=r.exec(n);if(!i)return n;var o="",a=0,s=0;for(a=i.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#39;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}s!==a&&(o+=n.substring(s,a)),s=a+1,o+=t}return s!==a?o+n.substring(s,a):o}},function(e,t,n){"use strict";e.exports=function(e,t){if(null==t)return function e(t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?e(i,n):n.push(i)}return n}(e,[]);return function e(t,n,r){for(var i=0;i<t.length;i++){var o=t[i];r>0&&Array.isArray(o)?e(o,n,r-1):n.push(o)}return n}(e,[],t)}},function(e,t){e.exports=function(e,t){if(e&&t)for(var n in t)e[n]=t[n];return e}},function(e,t,n){"use strict";const r=n(803),i=n(202),o=n(210),a=n(96),s=Buffer.from([0,0,255,255]),c=Buffer.from([0]),u=Symbol("permessage-deflate"),l=Symbol("write-in-progress"),p=Symbol("pending-close"),d=Symbol("t

TypeError: Cannot read property 'on' of undefined
    at t.emitLines (/root/m/code-server-1.32.0-310-linux-x64/code-server:340:7474)
    at t.async (/root/m/code-server-1.32.0-310-linux-x64/code-server:721:37259)
    at e.exports (/root/m/code-server-1.32.0-310-linux-x64/code-server:721:36678)
    at e (/root/m/code-server-1.32.0-310-linux-x64/code-server:721:35480)
    at Timeout.c [as _onTimeout] (/root/m/code-server-1.32.0-310-linux-x64/code-server:721:35773)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)
[root@desk code-server-1.32.0-310-linux-x64]# 

Steps to Reproduce

  1. extract code-server-1.32.0-282-linux-x64.tar.gz
  2. cd into folder
  3. Run ./codes-server folder

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions