tststs / atom-ternjs

JavaScript code intelligence for atom with tern.js and autocomplete-plus
MIT License
628 stars 76 forks source link

Uncaught Error: Notification must be created with string message: SyntaxError: Unexpected token }... #359

Closed YuriyChobanyuk closed 5 years ago

YuriyChobanyuk commented 5 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.36.1 x64 Electron: 2.0.18 OS: Ubuntu 18.04.2 Thrown From: atom-ternjs package 0.19.1

Stack Trace

Uncaught Error: Notification must be created with string message: SyntaxError: Unexpected token } in JSON at position 175

At /usr/share/atom/resources/app/static/<embedded>:11

Error: Notification must be created with string message: SyntaxError: Unexpected token } in JSON at position 175
    at Notification.validate (/usr/share/atom/resources/app/static/<embedded>:11:1215988)
    at new Notification (/usr/share/atom/resources/app/static/<embedded>:11:1215927)
    at NotificationManager.addError (/usr/share/atom/resources/app/static/<embedded>:11:327570)
    at ConfigModel.gatherData (/packages/atom-ternjs/lib/models/config.js:145:26)
    at /packages/atom-ternjs/lib/views/config.js:31:11)
    at Object.createView (/packages/atom-ternjs/lib/views/config.js:23:10)
    at ViewRegistry.createView (/usr/share/atom/resources/app/static/<embedded>:11:325221)
    at ViewRegistry.getView (/usr/share/atom/resources/app/static/<embedded>:11:324843)
    at HTMLElement.getActiveView (/app.asar/src/pane-element.js:206:23)
    at HTMLElement.handleFocus (/app.asar/src/pane-element.js:44:25)
    at HTMLElement.activated (/app.asar/src/pane-element.js:115:12)
    at Function.simpleDispatch (/usr/share/atom/resources/app/static/<embedded>:11:1189979)
    at Emitter.emit (/usr/share/atom/resources/app/static/<embedded>:11:1191420)
    at Pane.activate (/usr/share/atom/resources/app/static/<embedded>:11:463912)
    at HTMLElement.handleFocus (/app.asar/src/workspace-element.js:223:32)

Commands

     -1:30.2.0 autocomplete-plus:confirm (input.hidden-input)
  2x -1:26.7.0 core:move-down (input.hidden-input)
     -1:25.9.0 autocomplete-plus:confirm (input.hidden-input)
  2x -1:25.1.0 core:move-right (input.hidden-input)
     -1:23.8.0 editor:newline (input.hidden-input)
     -1:15.4.0 autocomplete-plus:confirm (input.hidden-input)
     -1:13.7.0 core:move-right (input.hidden-input)
     -1:12.9.0 editor:newline (input.hidden-input)
 63x -1:05.4.0 core:backspace (input.hidden-input)
  2x -0:58.5.0 editor:newline (input.hidden-input)
     -0:57.2.0 intentions:highlight (input.hidden-input)
     -0:57.1.0 core:save (input.hidden-input)
  2x -0:39.5.0 core:backspace (input.hidden-input)
     -0:38.3.0 intentions:highlight (input.hidden-input)
     -0:38 core:save (input.hidden-input)
     -0:28.6.0 atom-ternjs:openConfig (input.hidden-input)

Non-Core Packages

activate-power-mode 2.7.0 
atom-beautify 0.33.4 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
atom-ternjs 0.19.1 
busy-signal 2.0.1 
file-icons 2.1.32 
highlight-selected 0.16.0 
hyperclick 0.1.5 
intentions 1.1.5 
language-babel 2.85.0 
language-pug 0.0.22 
linter 2.3.0 
linter-eslint 8.5.5 
linter-pug 2.0.5 
linter-sass-lint 1.9.0 
linter-ui-default 1.7.1 
merge-conflicts 1.4.5 
minimap 4.29.9 
pigments 0.40.2 
platformio-ide-terminal 2.9.1