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
But open terminal and I get server log:
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/vscode-textmate/release/main.js
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/vscode-oniguruma/release/main.js
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/vscode-oniguruma/release/onig.wasm
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/xterm/lib/xterm.js
Help!
Expected
I should be able to open the terminal
Actual
Terminal does not open. Some coments said turn of 'gpu' in code and I did, and open and close terminal. But that did not work.
The issue is that it can't find those files, including xterm.js.
I tried to npm i xterm in that folder and no joy.
Logs
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/vscode-textmate/release/main.js
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/vscode-oniguruma/release/main.js
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/vscode-oniguruma/release/onig.wasm
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/xterm/lib/xterm.js
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
I cannot reproduce this in VS Code.
I cannot reproduce this in GitHub Codespaces.
Are you accessing code-server over HTTPS?
I am using HTTPS.
Notes
No, I mean I got https, I got no other bugs.
The text was updated successfully, but these errors were encountered:
Based on your logs it sounds like the node_modules inside lib/vscode are missing which can happen if the install gets wonky.
Can you find the lib/vscode folder on your machine, cd into it and run npm install? Or go up two directories (root of code-server) and run npm install --unsafe-permand it should run thepostinstall` script which will install Code's node mods.
I seem to have the same issue.
Version: 4.8.3 977b853 with Code 1.72.1
I installed code-server on Raspberry Pi 4, using npm -g ...
EDIT (removed previously posted stacktrace):
Once located lib/vscode in /usr/lib/node_modules/code-server
I ran sudo npm install --unsafe-perm which resulted in huge stacktrace.
Turns out I was missing libsecret-1.
To install it I ran sudo apt-get install libsecret-1-dev.
Then sudo npm install --unsafe-perm completed successfully, and after restart terminal was accessible!
Is there an existing issue for this?
OS/Web Information
code-server --version
:Steps to Reproduce
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/vscode-textmate/release/main.js
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/vscode-oniguruma/release/main.js
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/vscode-oniguruma/release/onig.wasm
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/xterm/lib/xterm.js
Help!
Expected
I should be able to open the terminal
Actual
Terminal does not open. Some coments said turn of 'gpu' in code and I did, and open and close terminal. But that did not work.
The issue is that it can't find those files, including xterm.js.
I tried to npm i xterm in that folder and no joy.
Logs
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/vscode-textmate/release/main.js
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/vscode-oniguruma/release/main.js
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/vscode-oniguruma/release/onig.wasm
File not found: /usr/local/lib/node_modules/code-server/lib/vscode/node_modules/xterm/lib/xterm.js
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
No, I mean I got https, I got no other bugs.
The text was updated successfully, but these errors were encountered: