stackroute / atom-css-spy

Atom plugin that makes html/css development much easier.
MIT License
9 stars 0 forks source link

Uncaught Error: undefined:98:8: property missing ':' #11

Open MortalCatalyst opened 8 years ago

MortalCatalyst commented 8 years ago

[Enter steps to reproduce below:]

  1. Create a media query in css using float layout
  2. .Save file.

Actual media query saved at this stage caused error.

@@media (max-width: 85rem) {
  body {
    padding: 0 2.5rem;
  }

Atom Version: 1.8.0 System: "Fedora release Thrown From: css-spy package, v0.5.1

Stack Trace

Uncaught Error: undefined:98:8: property missing ':'

At /home/sayth/.atom/packages/css-spy/node_modules/css/lib/parse/index.js:72

Error: undefined:98:8: property missing ':'
    at error (/home/sayth/.atom/packages/css-spy/node_modules/css/lib/parse/index.js:62:15)
    at declaration (/home/sayth/.atom/packages/css-spy/node_modules/css/lib/parse/index.js:223:33)
    at declarations (/home/sayth/.atom/packages/css-spy/node_modules/css/lib/parse/index.js:252:19)
    at rule (/home/sayth/.atom/packages/css-spy/node_modules/css/lib/parse/index.js:560:21)
    at rules (/home/sayth/.atom/packages/css-spy/node_modules/css/lib/parse/index.js:117:70)
    at stylesheet (/home/sayth/.atom/packages/css-spy/node_modules/css/lib/parse/index.js:81:21)
    at Object.module.exports [as parse] (/home/sayth/.atom/packages/css-spy/node_modules/css/lib/parse/index.js:564:20)
    at Object.module.exports.refreshWordList (/home/sayth/.atom/packages/css-spy/lib/provider.coffee:45:25)
    at FSWatcher.<anonymous> (/home/sayth/.atom/packages/css-spy/lib/css-spy.coffee:34:22)
    at emitTwo (events.js:87:13)
    at FSWatcher.emit (events.js:172:7)
    at FSEvent.FSWatcher._handle.onchange (fs.js:1310:12)

Commands

  7x -4:29.5.0 core:move-down (atom-text-editor.editor.is-focused.autocomplete-active)
     -4:28.1.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -4:28.1.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
     -4:24.4.0 core:save (atom-text-editor.editor.is-focused)
  2x -0:46 editor:newline (atom-text-editor.editor.is-focused)
     -0:42.8.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:42.8.0 snippets:expand (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:23.7.0 emmet:expand-abbreviation-with-tab (atom-text-editor.editor.is-focused)
  2x -0:22.7.0 core:backspace (atom-text-editor.editor.is-focused)
  3x -0:21.4.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:20.1.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:15 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:13.2.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:10.3.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:10.3.0 snippets:expand (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:01.9.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "customFileTypes": {
      "source.ini": [
        ".buckconfig",
        ".flowconfig"
      ],
      "source.json": [
        ".arcconfig",
        "BUCK.autodeps"
      ],
      "source.python": [
        "BUCK"
      ]
    },
    "disabledPackages": [
      "autohide-tree-view",
      "atom-fuzzy-grep",
      "atom-hg",
      "autocomplete-go",
      "builder-go",
      "diff-pane",
      "go-config",
      "go-get",
      "go-plus",
      "gofmt",
      "gometalinter-linter",
      "gorename",
      "jumpy",
      "python-autopep8",
      "tester-go"
    ],
    "themes": [
      "northem-dark-atom-ui",
      "gruvbox-plus-syntax"
    ]
  }
}

Installed Packages

# User
Atom-Syntax-highlighting-for-Sass, v0.5.0
atom-beautify, v0.29.10
atom-jinja2, v0.5.0
atom-ternjs, v0.14.2
autocomplete-citeproc, v0.0.4
autocomplete-html-entities, v0.1.0
autocomplete-paths, v1.0.2
autocomplete-python, v1.8.2
autocomplete-ruby, v0.1.0
css-snippets, v0.9.0
css-spy, v0.5.1
emmet, v2.4.3
file-type-icons, v1.3.1
gruvbox-plus-syntax, v1.2.5
javascript-snippets, v1.2.1
language-haml, v0.24.0
linter, v1.11.14
linter-haml, v1.2.1
linter-js-yaml, v1.2.5
linter-pylama, v0.5.5
linter-rubocop, v0.4.7
linter-sass-lint, v1.6.1
northem-dark-atom-ui, v0.5.0
pigments, v0.31.2
python-indent, v0.4.3
python-tools, v0.6.8
react-native-snippets, v0.3.0
webbox-color, v0.5.9
yaml-path, v0.1.0

# Dev
No dev packages