Open kylewindfall opened 8 years ago
What were you editing? What inputs cause this to occur?
It seems deactivating 'emmet-snippets-compatibility, v1.0.6' fixed the problem. I was working on a PHP file originally, but had the same issue in HTML files as well. Any '</' triggered the error and crashed Atom on my Mac.
I'm getting this same error whenever I type '</'.
/Users/username/.atom/packages/less-than-slash/lib/less-than-slash.coffee:159
TypeError: parser.parse is not a function
at Object.traverse (/Users/username/.atom/packages/less-than-slash/lib/less-than-slash.coffee:159:37)
at Object.getCompletion (/Users/username/.atom/packages/less-than-slash/lib/less-than-slash.coffee:139:33)
at Object.provider.getSuggestions (/Users/username/.atom/packages/less-than-slash/lib/less-than-slash.coffee:130:28)
at n.forEach.t (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:644623)
at Array.forEach (<anonymous>)
at AutocompleteManager.getSuggestionsFromProviders (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:644139)
at AutocompleteManager.findSuggestions (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:643877)
at AutocompleteManager.requestNewSuggestions (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:652407)
at AutocompleteManager.showOrHideSuggestionListForBufferChanges (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:653498)
at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1186953)
at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1188394)
at TextBuffer.emitDidChangeTextEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:501342)
at TextBuffer.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:489600)
at TextEditor.transact (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:24215)
at mergeIntersectingSelections (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:16150)
at TextEditor.mergeSelections (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:39484)
at TextEditor.mergeIntersectingSelections (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:39038)
at TextEditor.mutateSelectedText (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:16113)
at TextEditor.insertText (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:15662)
at TextEditor.e.(anonymous function) [as insertText] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:256932)
at TextEditorComponent.didTextInput (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:93579)
I tried disabling all my community packages but that didn't fix the issue.
[Enter steps to reproduce below:]
Atom Version: 1.9.6 System: Mac OS X 10.11.6 Thrown From: less-than-slash package, v0.16.0
Stack Trace
Uncaught TypeError: parser.parse is not a function
Commands
Config
Installed Packages