livestyle / atom

LiveStyle plugin for Atom editor
http://livestyle.io
135 stars 11 forks source link

Uncaught TypeError: Cannot read property 'getRootScopeDescriptor' of undefined #33

Open NickolasKyrylyuk opened 7 years ago

NickolasKyrylyuk commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.20.0-beta1 x64 Electron: 1.6.9 OS: �������� Windows 10 Pro Thrown From: livestyle-atom package 0.2.9

Stack Trace

Uncaught TypeError: Cannot read property 'getRootScopeDescriptor' of undefined

At C:\Users\Elon Musk\.atom\packages\livestyle-atom\lib\analyzer\utils.js:141

TypeError: Cannot read property 'getRootScopeDescriptor' of undefined
    at Object.supportedSyntax (/packages/livestyle-atom/lib/analyzer/utils.js:141:31)
    at /packages/livestyle-atom/lib/analyzer/index.js:57:23)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.20.0-beta1/resources/app/src/command-registry.js:265:35)
    at ~/AppData/Local/atom/app-1.20.0-beta1/resources/app/src/command-registry.js:3:65
    at Object.didConfirmSelection (~/AppData/Local/atom/app-1.20.0-beta1/resources/app/node_modules/command-palette/lib/command-palette-view.js:106:35)
    at SelectListView.confirmSelection (~/AppData/Local/atom/app-1.20.0-beta1/resources/app/node_modules/atom-select-list/src/select-list-view.js:313:26)
    at HTMLDivElement.core:confirm (~/AppData/Local/atom/app-1.20.0-beta1/resources/app/node_modules/atom-select-list/src/select-list-view.js:81:20)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.20.0-beta1/resources/app/src/command-registry.js:265:35)
    at ~/AppData/Local/atom/app-1.20.0-beta1/resources/app/src/command-registry.js:3:65
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.20.0-beta1/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.20.0-beta1/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.20.0-beta1/resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (~/AppData/Local/atom/app-1.20.0-beta1/resources/app/src/window-event-handler.js:3:65)

Commands

     -3:18.5.0 autocomplete-plus:confirm (input.hidden-input)
     -3:18.5.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
     -3:12.3.0 core:save (input.hidden-input)
 15x -2:00.5.0 core:backspace (input.hidden-input)
     -1:57.7.0 autocomplete-plus:confirm (input.hidden-input)
     -1:57.7.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
  5x -1:55.1.0 core:backspace (input.hidden-input)
     -1:48.1.0 core:save (input.hidden-input)
     -1:22.7.0 command-palette:toggle (input.hidden-input)
     -1:17.5.0 core:move-down (input.hidden-input)
     -1:16.4.0 core:confirm (input.hidden-input)
     -1:16.4.0 livestyle:show-widget (input.hidden-input)
     -0:17.7.0 command-palette:toggle (input.hidden-input)
  2x -0:12.6.0 core:move-down (input.hidden-input)
     -0:11.7.0 core:confirm (input.hidden-input)
     -0:11.7.0 livestyle:show-outline (input.hidden-input)

Non-Core Packages

atom-material-ui 2.0.4 
autoclose-html 0.23.0 
busy-signal 1.4.3 
emmet 2.4.3 
intentions 1.1.5 
linter 2.2.0 
linter-htmlhint 1.3.3 
linter-stylelint 4.0.1 
linter-ui-default 1.6.4 
livestyle-atom 0.2.9