-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: install fails for RPI4 #5966
Comments
Hmmm 🤔 Is this postinstall script running after installing code-server? |
Yes, i think so. That is the one recommending the path variable update , right? |
Hmm..I don't think so. It should say like |
I think i am facing the same error in trying to run code-server in a container image on RPI4 (with 64 bit OS: Architecture for the container image is When running the final image on RPI4 using podman, the errors about missing packages occur when trying to login to vscode in the browser. This is the Dockerfile i am using to build the image:
The build process is started with this command (using Docker on windows): And finally, the image is run on RPI4: I hope this helps to narrow down the problem. |
I think the install script falls back to installing via npm so it
sounds like this could also be reproduced with `sudo npm install -g
code-server --unsafe-perm` which I guess means this is an npm bug?
**edit**: or something wrong with our postinstall script maybe.
|
Same issue as this one: #5530 |
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.9.1 f7989a4 with Code 1.73.1Steps to Reproduce
it will fail because there are packages missing. They can be installed manually. This fixes this for me:
Expected
painless clean install ...
Actual
comes up with a 500 error in the web browser and some more messages on the console.
Logs
19:45:29] [192.168.1.11][e90bc42c][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
[19:45:29] [192.168.1.11][20a87450][ExtensionHostConnection] <24644> Extension Host Process exited with code: 0, signal: null.
[19:45:31] [192.168.1.11][71275f9c][ManagementConnection] New connection established.
[IPC Library: File Watcher] Loading "@parcel/watcher" failed
[IPC Library: File Watcher] Error: Cannot find module '@parcel/watcher'
Require stack:
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Function.Module._load (node:internal/modules/cjs/loader:841:27)
at Module.require (node:internal/modules/cjs/loader:1067:19)
at require (node:internal/modules/cjs/helpers:103:18)
at r (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:5:101)
at e.load (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:4:1720)
at e.load (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:3:10382)
at a (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:5:10224)
at Object.errorback (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:5:10345)
at e.triggerErrorback (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:3:10746)
at /usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:3:10452
at e.load (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:4:1737)
at e.load (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:3:10382)
at a (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:5:10224)
at s._loadModule (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:5:10354)
at s._resolve (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:6:452)
at s.defineModule (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:5:6066)
at y (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:6:1825)
at h (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:4:2554)
at Object. (/usr/lib/node_modules/code-server/lib/vscode/out/vs/platform/files/node/watcher/watcherMain.js:15:21899)
at Object. (/usr/lib/node_modules/code-server/lib/vscode/out/vs/platform/files/node/watcher/watcherMain.js:15:33430)
at e._createAndEvalScript (/usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:4:2598)
at /usr/lib/node_modules/code-server/lib/vscode/out/vs/loader.js:4:2237
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)
[IPC Library: File Watcher] Here are the modules that depend on it:
[IPC Library: File Watcher]% [ 'vs/platform/files/node/watcher/parcel/parcelWatcher' ]
[19:45:32] [192.168.1.11][c138bc21][ExtensionHostConnection] New connection established.
[19:45:32] [192.168.1.11][c138bc21][ExtensionHostConnection] <25552> Launched Extension Host Process.
File not found: /usr/lib/node_modules/code-server/lib/vscode/node_modules/vscode-textmate/release/main.js
File not found: /usr/lib/node_modules/code-server/lib/vscode/node_modules/vscode-oniguruma/release/main.js
File not found: /usr/lib/node_modules/code-server/lib/vscode/node_modules/vscode-oniguruma/release/onig.wasm
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
No response
The text was updated successfully, but these errors were encountered: