Open cephen opened 6 years ago
Having this same issue on Atom 1.33.1 on MacOS Mojave. My stack trace:
TypeError: atom.grammars.startIdForScope is not a function
at grammarCb (/Users/brunnopleffken/.atom/packages/omnisharp-atom/dist/omnisharp-atom.js:145:35)
at arrayEach (/Users/brunnopleffken/.atom/packages/omnisharp-atom/node_modules/lodash/lodash.js:516:11)
at forEach (/Users/brunnopleffken/.atom/packages/omnisharp-atom/node_modules/lodash/lodash.js:9344:14)
at OmniSharpAtom.activate (/Users/brunnopleffken/.atom/packages/omnisharp-atom/dist/omnisharp-atom.js:153:30)
at Package.activateNow (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:2951735)
at measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:2951147)
at Package.measure (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:2948778)
at activationPromise.activationPromise.Promise (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:2951007)
at new Promise (<anonymous>)
at Package.activate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:2950950)
at PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:382657)
at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:917626
at r (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:912232)
at o (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1037481)
at ChildProcess.n.process.on.e (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1037687)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
This solution worked for me https://github.com/OmniSharp/omnisharp-atom/issues/1020#issuecomment-570095290
I have already gone through the steps mentioned in #1020 with no success.
Atom 1.32.2 x64 running on Manjaro Linux
Steps: Installed omnisharp-atom package via apm