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.

CocInfo

`## versions

vim version: NVIM v0.4.0-1256-g564d415d2 node version: v11.15.0 coc.nvim version: 0.0.72-22daa03a7d term: xterm-kitty platform: linux

Messages

[coc.nvim] error: UnhandledRejection: Command “/home/erik/.config/coc/extensions/node_modules/coc-omnisharp/omnisharp/OmniSharp” of cs is not executable: Error: not found: /home/erik/.config/coc/extensions/node_modules/coc-omnisharp/omnisharp/OmniSharp Error: Command “/home/erik/.config/coc/extensions/node_modules/coc-omnisharp/omnisharp/OmniSharp” of cs is not executable: Error: not found: /home/erik/.config/coc/extensions/node_modules/coc-omnisharp/omnisharp/OmniSharp at LanguageClient.createMessageTransports (/home/erik/.local/share/nvim/plugged/coc.nvim/build/index.js:65458:23)

Output channel: prettier

Output channel: highlight

[Info - 9:14:05 AM] Highlight server running in node v11.15.0

Output channel: cs

[Error - 9:14:13 AM] Starting client failed: Error: Command “/home/erik/.config/coc/extensions/node_modules/coc-omnisharp/omnisharp/OmniSharp” of cs is not executable: Error: not found: /home/erik/.config/coc/extensions/node_modules/coc-omnisharp/omnisharp/OmniSharp at LanguageClient.createMessageTransports (/home/erik/.local/share/nvim/plugged/coc.nvim/build/index.js:65458:23)`

Steps taken.

  1. Open neovim at project solution root
  2. Open up a cs file in a project that is part of the solution

At first I thought it was a conflict due to not disabling the omnisharp server startup from vim-omnisharp. But I got the same error when configuring that to not start up its omnisharp server.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:33 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
Admicoscommented, Jul 20, 2019

Same issue, on Arch

admicos ~ $ dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   2.2.108
 Commit:    33ed5b90ce

Runtime Environment:
 OS Name:     arch
 OS Version:
 OS Platform: Linux
 RID:         arch-x64
 Base Path:   /opt/dotnet/sdk/2.2.108/

Host (useful for support):
  Version: 2.2.6
  Commit:  7dac9b1b51

.NET Core SDKs installed:
  2.2.108 [/opt/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.NETCore.App 2.2.6 [/opt/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

I was able to get to a different error by copying a runtimeconfig.json file from a hello world project’s bin:

admicos ~/src/asd/bin/Debug/netcoreapp2.2 $ cp asd.runtimeconfig.json ~/.config/coc/extensions/node_modules/coc-omnisharp/omnisharp/omnisharp/OmniSharp.runtimeconfig.json

the second error is:

System.IO.FileNotFoundException: Could not load file or assembly 'System.Security.Permissions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.

Edit: Launching OmniSharp.exe with mono from the command line doesn’t show any errors, so maybe try that?

Edit 2: setting "omnisharp.useDotnet": false, in :CocConfig works… Somewhat…

1reaction
yatlicommented, Jul 14, 2019

@mihaelartz don’t worry. You’re helping a lot by testing it out 😃

Please try 0.0.7 – I’ve added an option to specify how to start omnisharp – defaults to dotnet – make sure you have dotnet core installed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Errors Seen During the Computer Startup Process
How to Fix Errors Seen During the Computer Startup Process · BOOTMGR is missing. Press Ctrl Alt Del to restart · Hal.dll is...
Read more >
If your Mac doesn't start up all the way
If your Mac doesn't start up all the way or needs you to do something during startup, it might stop at one of...
Read more >
Advanced troubleshooting for Windows boot problems
Method 1: Startup repair tool · Method 2: Repair boot codes · Method 3: Fix BCD errors · Method 4: Replace Bootmgr ·...
Read more >
Troubleshoot startup errors on Xbox
Troubleshoot errors from the “Something went wrong” startup screen on Xbox. ... or if you are getting a startup error that is not...
Read more >
Fix: Windows Failed to Start Error on Startup
Fix: Windows Failed to Start Error on Startup · Solution 1: Remove any hardware that you recently installed and reboot · Solution 2:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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