Upgrade to 3.8.0 results in 500 VS Code failed to load
See original GitHub issue- Web Browser: Chrome 87
- Local OS: macos 10.15.7
- Remote OS: centos 7.8
- Remote Architecture:
code-server --version
: 3.8.0 c4610f7829701aadb045d450013b84491c30580d
Upgraded from 3.5.0 to 3.8.0 via rpm.
systemctl status: Main PID: 2972253 (node) CGroup: /system.slice/system-code\x2dserver.slice/code-server@id.service ├─2972253 /usr/lib/code-server/lib/node /usr/lib/code-server --log debug --disable-telemetry --bind-addr 0.0.0.0:8080 --cert /home/id/ssl/nasa… └─2972277 /usr/lib/code-server/lib/node /usr/lib/code-server --log debug --disable-telemetry --bind-addr 0.0.0.0:8080 --cert /home/id/ssl/nasa…
Jan 13 11:58:46 id-server code-server[2972253]: at Object.errorback (/usr/lib/code-server/lib/vscode/out/vs/loader.js:31:313) Jan 13 11:58:46 id-server code-server[2972253]: at e.triggerErrorback (/usr/lib/code-server/lib/vscode/out/vs/loader.js:14:306) Jan 13 11:58:46 id-server code-server[2972253]: at /usr/lib/code-server/lib/vscode/out/vs/loader.js:14:10 Jan 13 11:58:46 id-server code-server[2972253]: at ReadFileContext.callback (/usr/lib/code-server/lib/vscode/out/vs/loader.js:18:342) Jan 13 11:58:46 id-server code-server[2972253]: at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:261:13) { Jan 13 11:58:46 id-server code-server[2972253]: phase: ‘loading’, Jan 13 11:58:46 id-server code-server[2972253]: moduleId: ‘proxy-agent’, Jan 13 11:58:46 id-server code-server[2972253]: neededBy: [ ‘vs/base/node/proxy_agent’ ] Jan 13 11:58:46 id-server code-server[2972253]: } Jan 13 11:58:46 id-server code-server[2972253]: [2021-01-13T16:58:46.995Z] error VS Code exited unexpectedly with code 0
From code-server-stderr.log: TypeError: Class extends value undefined is not a constructor or null at Object.<anonymous> (/usr/lib/code-server/lib/vscode/node_modules/socks-proxy-agent/dist/agent.js:114:44) at Module._compile (internal/modules/cjs/loader.js:1137:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Module.require (internal/modules/cjs/loader.js:1025:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/usr/lib/code-server/lib/vscode/node_modules/socks-proxy-agent/dist/index.js:5:33) at Module._compile (internal/modules/cjs/loader.js:1137:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Module.require (internal/modules/cjs/loader.js:1025:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/usr/lib/code-server/lib/vscode/node_modules/pac-proxy-agent/dist/agent.js:25:29) at Module._compile (internal/modules/cjs/loader.js:1137:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Module.require (internal/modules/cjs/loader.js:1025:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/usr/lib/code-server/lib/vscode/node_modules/pac-proxy-agent/dist/index.js:7:33) at Module._compile (internal/modules/cjs/loader.js:1137:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Module.require (internal/modules/cjs/loader.js:1025:19) at require (internal/modules/cjs/helpers.js:72:18) at Object.<anonymous> (/usr/lib/code-server/lib/vscode/node_modules/proxy-agent/index.js:16:21) at Module._compile (internal/modules/cjs/loader.js:1137:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:1157:10) at Module.load (internal/modules/cjs/loader.js:985:32) at Function.Module._load (internal/modules/cjs/loader.js:878:14) at Module.require (internal/modules/cjs/loader.js:1025:19) at require (internal/modules/cjs/helpers.js:72:18) at t.load (/usr/lib/code-server/lib/vscode/out/vs/loader.js:17:960) at e.load (/usr/lib/code-server/lib/vscode/out/vs/loader.js:13:941) at o (/usr/lib/code-server/lib/vscode/out/vs/loader.js:31:189) at Object.errorback (/usr/lib/code-server/lib/vscode/out/vs/loader.js:31:313) at e.triggerErrorback (/usr/lib/code-server/lib/vscode/out/vs/loader.js:14:306) at /usr/lib/code-server/lib/vscode/out/vs/loader.js:14:10 at ReadFileContext.callback (/usr/lib/code-server/lib/vscode/out/vs/loader.js:18:342) at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:261:13) { phase: ‘loading’, moduleId: ‘proxy-agent’, neededBy: [ ‘vs/base/node/proxy_agent’ ] }
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (8 by maintainers)
Top GitHub Comments
Finding the version of code-server to be at 3.9.2 now, I created a new ubuntu vm and installed 3.9.2. I thought the upgrade jump would be a long shot, so no worries. Lesson: keep a bit more current. Thank you for the support and software. I will use the report template for any further issues.
All good, just wanted to clarify! 😃