You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Container/code-server should log that server is listening and should be able to access to code-server login page
Actual
error appears while trying to start the application, happens with the docker image codercom/code-server:latest or installing to ubuntu with curl -fsSL https://code-server.dev/install.sh | sh -s -- --version=4.0.2 , tested with previous version 4.0.1 and the error is not happening, works as expected.
Logs
ubuntu@fed6ac7767c9:/# code-server --bind-addr 0.0.0.0:8080
/usr/lib/code-server/node_modules/@node-rs/argon2/index.js:201
throw loadError
^
Error: Cannot find module '@node-rs/argon2-linux-arm64-gnu'
Require stack:
- /usr/lib/code-server/node_modules/@node-rs/argon2/index.js
- /usr/lib/code-server/out/node/util.js
- /usr/lib/code-server/out/node/cli.js
- /usr/lib/code-server/out/node/entry.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)
at Function.Module._load (internal/modules/cjs/loader.js:745:27)
at Module.require (internal/modules/cjs/loader.js:961:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object.<anonymous> (/usr/lib/code-server/node_modules/@node-rs/argon2/index.js:172:31)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Module.require (internal/modules/cjs/loader.js:961:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/usr/lib/code-server/node_modules/@node-rs/argon2/index.js',
'/usr/lib/code-server/out/node/util.js',
'/usr/lib/code-server/out/node/cli.js',
'/usr/lib/code-server/out/node/entry.js'
]
}
Screenshot/Video
No response
Does this issue happen in VS Code?
I cannot reproduce this in VS Code.
Are you accessing code-server over HTTPS?
I am using HTTPS.
Notes
No response
The text was updated successfully, but these errors were encountered:
ghost
added
bug
Something isn't working
triage
This issue needs to be triaged by a maintainer
labels
Feb 9, 2022
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.0.2Steps to Reproduce
There are 2 ways to reproduce the issue, remeber that Arch is arm64:
Docker container
1.1. docker pull codercom/code-server:latest
1.2. docker run -it --name code-server -p 8080:8080 codercom/code-server:latest
Manual installation to ubuntu docker image
2.1. curl -fsSL https://code-server.dev/install.sh | sh -s -- --version=4.0.2
Expected
Container/code-server should log that server is listening and should be able to access to code-server login page
Actual
error appears while trying to start the application, happens with the docker image codercom/code-server:latest or installing to ubuntu with
curl -fsSL https://code-server.dev/install.sh | sh -s -- --version=4.0.2
, tested with previous version 4.0.1 and the error is not happening, works as expected.Logs
Screenshot/Video
No response
Does this issue happen in VS Code?
Are you accessing code-server over HTTPS?
Notes
No response
The text was updated successfully, but these errors were encountered: