omnisharp-atom icon indicating copy to clipboard operation
omnisharp-atom copied to clipboard

TypeError: Cannot read property 'ClrOrMono' of undefined

Open ghost opened this issue 7 years ago • 3 comments

The following error occurs on Debian 9.4 when first opening a folder with a solution in Atom.

solution-manager.ts:197 Uncaught (in promise) TypeError: Cannot read property 'ClrOrMono' of undefined
    at SolutionInstanceManager._addSolution (solution-manager.ts:197)
    at solution-manager.ts:154
    at handleCandidate (solution-manager.ts:612)
    at addCandidatesInOrder (solution-manager.ts:625)
    at solution-manager.ts:154
    at <anonymous>

After some debugging, it seems that omnisharp-client doesn't have a Runtime that this script is expecting.

ghost avatar May 05 '18 18:05 ghost

Seems thatomnisharp-atom is not matching the current client API interface, as OmniSharp/omnisharp-node-client@7e628a0ecd4cc7c9f560740dd1ba472af031e400 has already removed this enum.

Still need further investigation though.

rschiang avatar May 30 '18 05:05 rschiang

@rschiang Willing to troubleshoot if I can get some steps.

ghost avatar May 30 '18 14:05 ghost

@adam-becker I'm not sure as I'm also trying to get this thing up and running. 😕 My best guess is that omnisharp-atom needs a rewrite to match the newer omnisharp-node-client.

@david-driscoll is there any projected releases soon? Or could you give us a hint on possible PRs?

rschiang avatar Jun 04 '18 14:06 rschiang