"File not found" error when starting code-server, resulting in a blank page in browser.

Hi, I'm getting those errors whenever I run
npm run watch
:
Error reading NLS messages file /.../lib/vscode/out/nls.messages.json: Error: ENOENT: no such file or directory, open '/.../lib/vscode/out/nls.messages.json'
[...]
File not found: /.../lib/vscode/out/vs/workbench/contrib/dropOrPasteInto/browser/dropOrPasteInto.contribution.js
File not found: /.../lib/vscode/out/vs/workbench/browser/client.js
File not found: /.../lib/vscode/out/vs/base/browser/domStylesheets.js
Error: Unexpected SIGPIPE
    at process.<anonymous> (/.../lib/vscode/src/bootstrap-node.ts:28:18)
    at process.emit (node:events:519:35)
[18:31:07] Error: Unexpected SIGPIPE
    at process.<anonymous> (/.../lib/vscode/src/vs/server/node/remoteExtensionHostAgentServer.ts:705:22)
    at process.emit (node:events:519:35)
[18:31:07] Error: Unexpected SIGPIPE
    at process.<anonymous> (/.../lib/vscode/src/vs/server/node/remoteExtensionHostAgentServer.ts:705:22)
    at process.emit (node:events:519:35)
File not found: /.../lib/vscode/out/vs/editor/contrib/find/browser/findWidgetSearchHistory.js


Does anybody know why does it happen and how can I fix it?
code-server version is the latest, and I'm on Arch Linux
Patches are fully applied with zero errors.
Was this page helpful?