V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
nutting
V2EX  ›  问与答

vscode remote ssh 开发,跑不起来

  •  
  •   nutting · 2020-05-28 16:38:38 +08:00 · 2190 次点击
    这是一个创建于 1646 天前的主题,其中的信息可能已经有所发展或是发生改变。
    用 vbox 装的 ubuntu18.04 以及尝试还有 debian10 。用 vscode 链接,ssh 连上了,但是运行 codeserver 返回好几行 waiting for server log,就失败了。上服务器看,好像是执行的一个 什么 .sh 文件没有,这个文件是 vscode 建立的文件夹里的,但是其实没成功,也不是权限问题,其他都有。有遇到过的吗?
    如果换成 centos7,官方文档说不支持。其他还有啥呢,莫非 ubuntu 和 debian 版本太高?
    4 条回复    2020-05-28 19:21:51 +08:00
    nutting
        1
    nutting  
    OP
       2020-05-28 16:44:10 +08:00
    说错了,是 alpine linux 不支持
    fen
        2
    fen  
       2020-05-28 19:05:48 +08:00 via Android
    在 arm 平台遇到过,x86 没遇到
    nutting
        3
    nutting  
    OP
       2020-05-28 19:21:00 +08:00
    [11:15:43] Extension host agent started.
    [11:15:44] [127.0.0.1][307f2cc2][ManagementConnection] New connection established.
    [11:15:44] [127.0.0.1][7bdb5a19][ExtensionHostConnection] New connection established.
    bash: cannot set terminal process group (-1): Inappropriate ioctl for device
    bash: no job control in this shell
    [11:15:44] [127.0.0.1][7bdb5a19][ExtensionHostConnection] <11422> Launched Extension Host Process.
    EXTHOST-LOG:::::
    ["/home/apple/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/node_modules/graceful-fs/graceful-fs.js:211\n WriteStream.prototype = Object.create(fs$WriteStreȫ/�qb��C@�G.\"�\n \n\nSyntaxError: Invalid or unexpected token\n at Module._compile (internal/modules/cjs/loader.js:718:23)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)\n at Module.load (internal/modules/cjs/loader.js:641:32)\n at Function.Module._load (internal/modules/cjs/loader.js:556:12)\n at Module.require (internal/modules/cjs/loader.js:681:19)\n at require (internal/modules/cjs/helpers.js:16:16)\n at t.load (/home/apple/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/out/vs/loader.js:16:119)\n at e.load (/home/apple/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/out/vs/loader.js:13:586)\n at i (/home/apple/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/out/vs/loader.js:29:259)\n at Object.errorback (/home/apple/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/out/vs/loader.js:29:383)\n at e.triggerErrorback (/home/apple/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/out/vs/loader.js:13:955)\n at /home/apple/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/out/vs/loader.js:13:659\n at ReadFileContext.callback (/home/apple/.vscode-server/bin/5763d909d5f12fe19f215cbfdd29a91c0fa9208a/out/vs/loader.js:16:494)\n at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:246:13)"]
    [11:15:45] [127.0.0.1][7bdb5a19][ExtensionHostConnection] <11422> Extension Host Process exited with code: 0, signal: null.
    Last EH closed, waiting before shutting down
    [11:15:45] Last EH closed, waiting before shutting down
    [11:15:50] [127.0.0.1][7bdb5a19][ExtensionHostConnection] Unknown reconnection token.
    Error: write EPIPE
    at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:83:16) {
    errno: 'EPIPE',
    code: 'EPIPE',
    syscall: 'write'
    nutting
        4
    nutting  
    OP
       2020-05-28 19:21:51 +08:00
    后来手动下载部署上去了,但是连接成功后,显示激活扩展中,就说不能够连接窗口,找到报错如上。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2173 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 00:46 · PVG 08:46 · LAX 16:46 · JFK 19:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.