question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connection to server got closed. Server will restart

See original GitHub issue
[Info  - 2:44:05 PM] Connection to server got closed. Server will restart.
events.js:177
      throw er; // Unhandled 'error' event
      ^

Error: spawn /home/user/.vscode-server/extensions/prisma.prisma-2.4.2/node_modules/@prisma/language-server/dist/src/prisma-fmt.195d4bdc2d16132977f4ba7a8ca312f7906cb086 EACCES
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:9)
Emitted 'error' event at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:84:9) {
  errno: 'EACCES',
  code: 'EACCES',
  syscall: 'spawn ' +
    '/home/user/.vscode-server/extensions/prisma.prisma-2.4.2/node_modules/@prisma/language-server/dist/src/prisma-fmt.195d4bdc2d16132977f4ba7a8ca312f7906cb086',
  path: '/home/user/.vscode-server/extensions/prisma.prisma-2.4.2/node_modules/@prisma/language-server/dist/src/prisma-fmt.195d4bdc2d16132977f4ba7a8ca312f7906cb086',
  spawnargs: [ '--version' ]
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:47 (22 by maintainers)

github_iconTop GitHub Comments

2reactions
carmenberndtcommented, Nov 26, 2020

@NMinhNguyen can you please ping me at berndt@prisma.io so I can set up a meeting for tomorrow?

2reactions
NMinhNguyencommented, Nov 18, 2020

If it helps, I’m doing this at work where for external internet stuff we need to use proxies. Maybe the code that’s trying to download prisma-fmt isn’t taking into account environment variables like HTTP_PROXY? VS Code also lets you set a proxy in settings (where it also inherits from http_proxy and https_proxy if not set):

Screenshot 2020-11-18 at 15 33 46
Read more comments on GitHub >

github_iconTop Results From Across the Web

Need help with an error: "Connection to server got closed ...
Type: LanguageService With Visual Studio Code I'm having the issue: Connection to server got closed. Server will not be restarted.
Read more >
"Connection to server got closed. Server will not be restarted ...
I am using VSCode on Ubuntu 20.04. The errors, "Connection to server got closed. Server will not be restarted." and "The language server...
Read more >
The DAML language server crashed 5 times in last 3 minutes ...
I am following the 'Introduction to DAML' course and getting this error message when opening Main.daml from VS code. I have tried installing/uninstalling ......
Read more >
VSCode language server won't start - VS Code - Julia Discourse
task.jl:411 [Info - 12:28:14 AM] Connection to server got closed. Server will restart. ┌ Error: Some Julia code in the VS Code extension ......
Read more >
Language Server Extension Guide - Visual Studio Code
This guide will teach you how to build a Language Client / Server using our ... have change in VS Code connection.console.log('We received...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found