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

Uncaught Error: Notification must be created with string message: undefined

Open bryanmac opened this issue 6 years ago • 0 comments

[Enter steps to reproduce:]

  1. I created my own config as suggested on http://csscomb.com/config
  2. After setting my correct path and running comb on a CSS file (or a single declaration), I'm given the below error. Here is my .csscomb.json file contents:
{
    "remove-empty-rulesets": true,
    "color-case": "lower",
    "block-indent": "    ",
    "element-case": "lower",
    "eof-newline": false,
    "leading-zero": false,
    "quotes": "double",
    "sort-order-fallback": "abc",
    "space-before-colon": "",
    "space-after-colon": " ",
    "space-before-combinator": " ",
    "space-after-combinator": " ",
    "space-before-opening-brace": " ",
    "space-after-selector-delimiter": "\n",
    "space-before-selector-delimiter": "",
    "space-before-closing-brace": "\n",
    "strip-spaces": true,
    "tab-size": true,
    "unitless-zero": true,
    "vendor-prefix-align": true
}

Atom: 1.35.1 x64 Electron: 2.0.18 OS: Mac OS X 10.14.2 Thrown From: atom-css-comb package 3.5.1

Stack Trace

Uncaught Error: Notification must be created with string message: undefined

At /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11

Error: Notification must be created with string message: undefined
    at Notification.validate (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1198363)
    at new Notification (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1198302)
    at NotificationManager.addError (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:327484)
    at /packages/atom-css-comb/lib/css-comb.js:144:45
    at /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:37649
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1172354)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1173795)
    at ChildProcess.<anonymous> (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:36762)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at emit (internal/child_process.js:772:12)
    at _combinedTickCallback (internal/process/next_tick.js:141:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Commands

     -5:44.5.0 core:backspace (input.hidden-input)
     -5:38.4.0 css-comb:comb (input.hidden-input)
     -5:32.2.0 core:save (input.hidden-input)
  2x -0:12.3.0 css-comb:comb (input.hidden-input)

Non-Core Packages

atom-css-comb 3.5.1 
autoclose-html 0.23.0 
file-icons 2.1.31 
pigments 0.40.2 
react 0.18.0 

bryanmac avatar Mar 29 '19 22:03 bryanmac