atom / status-bar

Status bar for Atom
MIT License
100 stars 72 forks source link

Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new... #86

Open mrmechko opened 9 years ago

mrmechko commented 9 years ago

[Enter steps to reproduce below:]

  1. toggle travis-ci-status several times out of impatience.

Atom Version: 1.0.0 System: Mac OS X 10.10.3 Thrown From: status-bar package, v0.74.0

Stack Trace

Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/status-bar/lib/status-bar-view.js:74

Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
  at Error (native)
  at status-bar.StatusBarView.addLeftTile (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/status-bar/lib/status-bar-view.js:74:22)
  at BuildStatusView.module.exports.BuildStatusView.attach (/Users/mechko/.atom/packages/travis-ci-status/lib/build-status-view.coffee:35:34)
  at BuildStatusView.module.exports.BuildStatusView.toggle (/Users/mechko/.atom/packages/travis-ci-status/lib/build-status-view.coffee:50:8)
  at atom-workspace.<anonymous> (/Users/mechko/.atom/packages/travis-ci-status/lib/build-status-view.coffee:18:72)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:159:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
  at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:180:20)

Commands

     -4:45.4.0 core:copy (atom-text-editor.editor.is-focused)
     -4:42.4.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused.autocomplete-active)
     -4:40.7.0 core:save (atom-text-editor.editor.is-focused)
     -4:36 find-and-replace:show (atom-text-editor.editor.is-focused)
     -4:34.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -4:33.9.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -4:33.9.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -4:33.2.0 core:move-right (atom-text-editor.editor.is-focused)
     -4:32.7.0 core:move-left (atom-text-editor.editor.is-focused)
  2x -4:31.5.0 core:save (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:11 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:08.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:08.9.0 travis-ci-status:toggle (atom-text-editor.editor)
     -0:03.8.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:01.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:01.9.0 travis-ci-status:toggle (atom-text-editor.editor)

Config

{
  "core": {
    "disabledPackages": [
      "symbols-view",
      "themed-settings"
    ],
    "excludeVcsIgnoredPaths": false,
    "themes": [
      "atom-material-ui",
      "solarized-dark-syntax"
    ]
  }
}

Installed Packages

# User
Ensime, v0.14.0
atom-ctags, v4.1.4
atom-material-ui, v0.4.10
file-icons, v1.5.8
flex-tool-bar, v0.4.2
git-plus, v5.2.2
language-scala, v1.1.3
last-cursor-position, v0.9.0
linter, v1.0.8
linter-scalac, v0.3.4
project-manager, v1.15.10
scala-format, v0.1.8
tool-bar, v0.1.8
travis-ci-status, v0.15.1
wakatime, v4.0.11

# Dev
No dev packages
shieldwed commented 8 years ago

Got the same exception, which lead me to this issue:

  1. Enabling the dartlang plugin (It was disabled at startup and before)

Atom Version: 1.3.1 System: Microsoft Windows 10 Pro Thrown From: status-bar package, v0.80.0

Stack Trace

Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.

At C:\Users\shiel\AppData\Local\atom\app-1.3.1\resources\app.asar\node_modules\status-bar\lib\status-bar-view.js:93

Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
    at Error (native)
    at status-bar.StatusBarView.addRightTile (C:\Users\shiel\AppData\Local\atom\app-1.3.1\resources\app.asar\node_modules\status-bar\lib\status-bar-view.js:93:23)
    at JsObject.dart.JsObject.callMethod$2 (C:\Users\shiel\.atom\packages\dartlang\web\entry.dart.js:51615:44)
    at StatusBar.dart.ProxyHolder.invoke$4 (C:\Users\shiel\.atom\packages\dartlang\web\entry.dart.js:32853:23)
    at StatusBar.dart.ProxyHolder.invoke$2 (C:\Users\shiel\.atom\packages\dartlang\web\entry.dart.js:32862:21)
    at StatusDisplay.dart.StatusDisplay.StatusDisplay$1 (C:\Users\shiel\.atom\packages\dartlang\web\entry.dart.js:38303:52)
    at [object Object].dart.StatusDisplay.static.StatusDisplay$ (C:\Users\shiel\.atom\packages\dartlang\web\entry.dart.js:38310:14)
    at AtomDartPackage_closure.dart.AtomDartPackage_closure.call$1 (C:\Users\shiel\.atom\packages\dartlang\web\entry.dart.js:35699:27)
    at registerPackage__closure.dart.registerPackage__closure.call$1 (C:\Users\shiel\.atom\packages\dartlang\web\entry.dart.js:25102:25)
    at [object Object].dart.Primitives_applyFunctionWithPositionalArguments (C:\Users\shiel\.atom\packages\dartlang\web\entry.dart.js:22975:28)
    at dart._callDartFunction (C:\Users\shiel\.atom\packages\dartlang\web\entry.dart.js:51504:31)
    at Object.consumeStatusBar (C:\Users\shiel\.atom\packages\dartlang\web\entry.dart.js:51775:20)
    at Provider.module.exports.Provider.provide (C:\Users\shiel\AppData\Local\atom\app-1.3.1\resources\app.asar\node_modules\service-hub\lib\provider.js:30:52)
    at C:\Users\shiel\AppData\Local\atom\app-1.3.1\resources\app.asar\node_modules\service-hub\lib\service-hub.js:55:26
    at doNTCallback0 (node.js:419:9)
    at process._tickCallback (node.js:348:13)

Commands

     -1:49.8.0 asciidoc-preview:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ],
    "followSymlinks": false,
    "disabledPackages": [
      "atom-yeoman",
      "autocomplete-python",
      "language-scheme",
      "omnisharp-atom"
    ]
  }
}

Installed Packages

# User
asciidoc-preview, v0.6.0
atom-ternjs, v0.11.3
dartlang, v0.4.17
json-schema, v0.1.15
language-asciidoc, v0.12.0
language-groovy, v0.4.0
language-ini, v1.14.0
language-prolog, v0.10.0
language-puppet, v0.15.0
language-systemd, v0.1.0
linter, v1.11.3
pigments, v0.19.3

# Dev
No dev packages
50Wliu commented 8 years ago

I could not reproduce this following @mrmechko's reproduction steps (I even assigned a keybinding to travis-ci-status:toggle for rapid toggling). Using travis-ci-status@1.0.0 and Atom 1.7.0-dev-f48069c.

westtrade commented 8 years ago

Error was happened in highlight-selected module

Atom Version: 1.9.8 System: Ubuntu 14.04 Thrown From: status-bar package, v1.4.1

Stack Trace

Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.

At /opt/atom/resources/app.asar/node_modules/status-bar/lib/status-bar-view.js:72

Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
    at Error (native)
    at status-bar.StatusBarView.addLeftTile (/opt/atom/resources/app.asar/node_modules/status-bar/lib/status-bar-view.js:72:22)
    at highlighted-status-bar.module.exports.HighlightedStatusView.attach (/home/dio/.atom/packages/selection-highlight/lib/highlighted-status-view.coffee:15:26)
    at HighlightedAreaView.module.exports.HighlightedAreaView.handleSelection (/home/dio/.atom/packages/selection-highlight/lib/highlighted-area-view.coffee:101:19)
    at HighlightedAreaView.handleSelection (/home/dio/.atom/packages/selection-highlight/lib/highlighted-area-view.coffee:1:1)
    at /home/dio/.atom/packages/selection-highlight/lib/highlighted-area-view.coffee:27:8

Commands

     -3:12.4.0 core:save (atom-text-editor.editor.is-focused)
  2x -3:04.8.0 editor:duplicate-lines (atom-text-editor.editor.is-focused)
     -3:04.0 core:save (atom-text-editor.editor.is-focused)
  2x -2:57.7.0 editor:duplicate-lines (atom-text-editor.editor.is-focused)
     -2:57 core:save (atom-text-editor.editor.is-focused)
     -0:48.4.0 editor:delete-to-previous-word-boundary (atom-text-editor.editor.is-focused)
     -0:46.6.0 core:save (atom-text-editor.editor.is-focused)
     -0:45.4.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:45.4.0 core:cancel (atom-text-editor.editor.is-focused)
     -0:25.6.0 core:save (atom-text-editor.editor.is-focused)
  2x -0:19.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:18.8.0 core:save (atom-text-editor.editor.is-focused)
     -0:17.8.0 core:undo (atom-text-editor.editor.is-focused)
     -0:16 core:save (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:07.2.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -0:07.2.0 core:cancel (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "allowPendingPaneItems": false,
    "autoHideMenuBar": true,
    "disabledPackages": [
      "highlight-selected",
      "ex-mode",
      "vim-mode",
      "keyboard-sounds",
      "linter-phpmd",
      "tree-view-git-modified",
      "tree-view-breadcrumb",
      "python-jedi",
      "SFTP-deployment",
      "aligner-php",
      "aligner-python",
      "aligner",
      "atom-bootstrap3",
      "atom-drupal-api",
      "atom-live-server",
      "drupal",
      "zip-folder",
      "tree-view-git-branch",
      "tree-view-filter",
      "spec-tree-view",
      "markdown-preview-plus",
      "livereload",
      "linter-rust",
      "linter",
      "less-autocompile",
      "hyperclick",
      "indent-detective",
      "indent-guide-improved",
      "js-hyperclick",
      "js-refactor",
      "keyboard-localization",
      "terminal-plus"
    ],
    "packagesWithKeymapsDisabled": [
      "zip-folder",
      "git-control"
    ],
    "themes": [
      "atom-dark-ui",
      "gruvbox-plus-syntax"
    ]
  }
}

Installed Packages

# User
.bin, vundefined (inactive)
aligner, v0.22.1 (inactive)
aligner-php, v1.0.0 (inactive)
aligner-python, v1.0.1 (inactive)
atom-beautify, v0.29.10 (active)
atom-bootstrap3, v1.2.12 (inactive)
atom-drupal-api, v1.0.1 (inactive)
atom-jade, v0.3.0 (active)
atom-live-server, v1.2.5 (inactive)
atom-trello, v0.5.1 (active)
atom-typescript, v10.1.6 (active)
autocomplete-emojis, v2.5.0 (active)
autocomplete-go, v1.1.0 (active)
autocomplete-paths, v1.0.2 (active)
autocomplete-php, v0.3.7 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-python, v1.8.6 (active)
autoupdate-packages, v1.3.1 (active)
block-comment, v0.4.3 (inactive)
build-cargo, v0.16.0 (active)
builder-go, v1.0.0 (active)
comment-headers, v2.15.0 (inactive)
docs-snippets, v0.8.0 (active)
drupal, v1.8.0 (inactive)
emmet, v2.4.3 (active)
emmet-snippets-compatibility, v1.0.6 (active)
environment, v1.2.0 (active)
es6-javascript, v1.0.0 (inactive)
ex-mode, v0.11.0 (inactive)
genesis-ui, v0.5.0 (inactive)
git-authors, v0.1.0 (inactive)
git-control, v0.8.2 (inactive)
git-log, v0.4.1 (active)
git-time-machine, v1.5.3 (inactive)
git-travel, v0.1.4 (inactive)
go-config, v1.2.1 (active)
go-debug, v0.1.18 (active)
go-get, v1.0.3 (active)
go-plus, v4.1.0 (active)
go-quick-import, v0.2.1-rc.0 (active)
go-signature-statusbar, v1.1.0 (active)
godef, v0.2.5 (inactive)
godoc, v0.3.0 (active)
gofmt, v1.1.6 (active)
gometalinter-linter, v1.1.0 (active)
gorename, v1.0.2 (active)
gpp-compiler, v3.0.4 (active)
gruvbox-plus-syntax, v1.2.5 (active)
highlight-selected, v0.11.2 (inactive)
hyperclick, v0.0.37 (inactive)
indent-detective, v0.1.0 (inactive)
indent-guide-improved, v1.4.9 (inactive)
jade, v0.1.2 (inactive)
jade-autocompile, v0.8.3 (active)
jade-beautify, v0.1.5 (active)
js-hyperclick, v1.4.2 (inactive)
js-refactor, v0.7.3 (inactive)
keyboard-localization, v1.4.18 (inactive)
keyboard-sounds, v0.2.0 (inactive)
language-ejs, v0.2.0 (active)
language-qml, v1.0.0 (active)
language-riot-tag, v0.2.2 (active)
language-rust, v0.4.6 (active)
leak-detector, v0.2.1 (inactive)
less-autocompile, v1.0.0 (inactive)
linter, v1.11.16 (inactive)
linter-phpmd, v1.5.0 (inactive)
linter-rust, v0.4.6 (inactive)
livereload, v0.4.4 (inactive)
markdown-preview-plus, v2.4.0 (inactive)
merge-conflicts, v1.4.4 (active)
minimap, v4.24.7 (active)
navigator-godef, v1.0.3 (active)
npm-install, v4.0.3 (inactive)
php-introspector, v1.0.0 (active)
platformio-ide-terminal, v2.1.1 (active)
project-view, v0.5.0 (active)
project-viewer, v0.3.18 (active)
promote-folder-to-project, v2.0.1 (inactive)
python-debugger, v0.1.0 (inactive)
python-indent, v0.4.3 (active)
python-jedi, v0.3.7 (inactive)
python-snippets, v1.9.0 (active)
qolor, v0.2.2 (active)
quick-editor, v0.4.3 (inactive)
quick-query, v0.8.4 (inactive)
racer, v0.20.0 (active)
react, v0.16.0 (active)
react-redux-snippets, v0.1.0 (active)
react-snippets, v0.4.2 (active)
readme, v1.0.0 (inactive)
refactor, v0.9.2 (active)
riot, v0.4.1 (active)
rust-api-docs-helper, v0.5.1 (active)
selection-highlight, v0.1.5 (active)
semicol, v1.1.1 (active)
seti-ui, v1.3.2 (inactive)
SFTP-deployment, v1.0.2 (inactive)
spec-tree-view, v0.1.0 (inactive)
sublime-block-comment, v0.4.0 (inactive)
terminal-plus, v0.14.5 (inactive)
tester-go, v1.0.4 (active)
tree-view-breadcrumb, v0.8.1 (inactive)
tree-view-copy-relative-path, v1.0.1 (inactive)
tree-view-filter, v0.4.1 (inactive)
tree-view-git-branch, v0.1.2 (inactive)
tree-view-git-modified, v0.7.1 (inactive)
tree-view-git-status, v1.1.0 (active)
vim-mode, v0.65.1 (inactive)
zip-folder, v3.2.0 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.51.0 (active)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.43.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.3.2 (inactive)
one-light-ui, v1.3.2 (inactive)
one-dark-syntax, v1.2.0 (inactive)
one-light-syntax, v1.2.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.2 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.0 (active)
bookmarks, v0.41.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
fuzzy-finder, v1.3.0 (active)
git-diff, v1.1.0 (active)
find-and-replace, v0.198.0 (inactive)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (active)
image-view, v0.58.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
notifications, v0.64.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.238.2 (active)
snippets, v1.0.2 (active)
spell-check, v0.67.1 (active)
status-bar, v1.4.1 (active)
styleguide, v0.46.0 (active)
symbols-view, v0.113.0 (inactive)
tabs, v0.98.1 (active)
timecop, v0.33.1 (active)
tree-view, v0.208.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.32.2 (active)
wrap-guide, v0.38.1 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.0 (active)
language-csharp, v0.12.1 (active)
language-css, v0.36.2 (active)
language-gfm, v0.86.0 (active)
language-git, v0.13.0 (active)
language-go, v0.42.0 (active)
language-html, v0.44.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.22.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.0 (active)
language-less, v0.29.3 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.0 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.68.5 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.52.0 (active)
language-shellscript, v0.22.3 (active)
language-source, v0.9.0 (active)
language-sql, v0.21.1 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.8 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages
Quilljou commented 8 years ago

The same issue,when I clicked the panel,the issue happened,the panel seems broken

version

Atom 1.98
Ubuntu 16.04
apm  1.10.0
npm  2.13.3
node 0.10.40
python 2.7.12
git 2.7.4

Stack trace

Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
    at Error (native)
    at status-bar.StatusBarView.addLeftTile (/opt/atom/resources/app.asar/node_modules/status-bar/lib/status-bar-view.js:72:22)
    at Object.module.exports.OpenInBrowsers.updateStatusBar (/home/quill/.atom/packages/open-in-browsers/lib/open-in-browsers.coffee:236:32)
    at /home/quill/.atom/packages/open-in-browsers/lib/open-in-browsers.coffee:220:10
    at Function.module.exports.Emitter.simpleDispatch (/opt/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at /opt/atom/resources/app.asar/src/pane-container.js:346:27
    at Function.module.exports.Emitter.simpleDispatch (/opt/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
    at Pane.module.exports.Pane.setActiveItem (/opt/atom/resources/app.asar/src/pane.js:284:22)
    at Pane.module.exports.Pane.activateItem (/opt/atom/resources/app.asar/src/pane.js:433:21)
    at atom-tabs.TabBarView.onMouseDown (/opt/atom/resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:660:19)

installed packages

├── atom-beautify@0.29.10
├── atom-bootstrap3@1.2.12
├── atom-jade@0.3.0
├── atom-jinja2@0.5.0
├── atom-live-server@1.2.5
├── atom-ternjs@0.14.2
├── autocomplete-paths@1.0.2
├── autocomplete-python@1.8.6
├── autoprefixer@3.2.0
├── block-comment-plus@0.4.0
├── color-picker@2.2.2
├── emmet@2.4.3
├── file-icons@1.7.18
├── highlight-selected@0.11.2
├── jade-autocompile@0.8.3
├── jquery-snippets@11.0.0
├── less-than-slash@0.16.0
├── linter@1.11.16
├── linter-eslint@7.2.4
├── livestyle-atom@0.2.5
├── minimap@4.24.7
├── monokai-seti@0.7.0
├── node-debugger@1.7.0
├── open-in-browsers@0.0.19
├── pigments@0.31.2
├── python-debugger@0.1.0
├── python-indent@0.4.3
├── python-tools@0.6.8
├── sass-autocompile@0.12.8
├── script@3.8.3
├── seti-syntax@1.0.1
├── seti-ui@1.3.2
└── terminal-plus@0.14.5
Potato-Matic commented 7 years ago

Error occurred for me today during an update. I don't know what package though (I was doing an 'update all').

File: C:\Users\m\AppData\Local\atom\app-1.10.2\resources\app.asar\node_modules\status-bar\lib\status-bar-view.js:72

Stack trace: Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node. at Error (native) at status-bar.StatusBarView.addLeftTile (C:\Users\m\AppData\Local\atom\app-1.10.2\resources\app.asar\node_modules\status-bar\lib\status-bar-view.js:72:22) at C:/Users/m/.atom/packages/linter/lib/linter-views.js:136:55 at Config.module.exports.Config.observeKeyPath (C:\Users\m\AppData\Local\atom\app-1.10.2\resources\app.asar\src\config.js:616:7) at Config.module.exports.Config.observe (C:\Users\m\AppData\Local\atom\app-1.10.2\resources\app.asar\src\config.js:141:21) at LinterViews.attachBottom (C:/Users/m/.atom/packages/linter/lib/linter-views.js:132:40) at Object.module.exports.consumeStatusBar (file:///C:/Users/m/.atom/packages/linter/lib/main.coffee:148:21) at Provider.module.exports.Provider.provide (C:\Users\m\AppData\Local\atom\app-1.10.2\resources\app.asar\node_modules\service-hub\lib\provider.js:30:52) at C:\Users\m\AppData\Local\atom\app-1.10.2\resources\app.asar\node_modules\service-hub\lib\service-hub.js:55:26 at _combinedTickCallback (internal/process/next_tick.js:67:7) at process._tickCallback (internal/process/next_tick.js:98:9)

Gregorsharpe commented 7 years ago

Same issue as Matthew-Bradley.

[Enter steps to reproduce below:]

  1. Update-All from atom package manager.
  2. Error will appear twice.

Atom Version: 1.9.9 System: Mac OS X 10.11.6 Thrown From: status-bar package, v1.4.1

Stack Trace

Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/status-bar/lib/status-bar-view.js:72

Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
    at Error (native)
    at status-bar.StatusBarView.addLeftTile (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/status-bar/lib/status-bar-view.js:72:22)
    at StatusBarView.attach (/Users/greg/.atom/packages/build/lib/status-bar-view.js:21:65)
    at /Users/greg/.atom/packages/build/lib/status-bar-view.js:9:55
    at Config.module.exports.Config.observeKeyPath (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:612:7)
    at Config.module.exports.Config.observe (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:141:21)
    at new StatusBarView (/Users/greg/.atom/packages/build/lib/status-bar-view.js:9:17)
    at Object.consumeStatusBar (/Users/greg/.atom/packages/build/lib/build.js:329:26)
    at Provider.module.exports.Provider.provide (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/service-hub/lib/provider.js:30:52)
    at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/service-hub/lib/service-hub.js:55:26
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands

     -3:17.5.0 editor:newline (atom-text-editor.editor.is-focused)
     -3:17.2.0 core:backspace (atom-text-editor.editor.is-focused)
     -3:16.5.0 editor:newline (atom-text-editor.editor.is-focused)
 17x -3:12.8.0 core:backspace (atom-text-editor.editor.is-focused)
     -3:02.3.0 editor:newline (atom-text-editor.editor.is-focused)
     -3:02.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -3:02.0 snippets:expand (atom-text-editor.editor.is-focused)
     -3:02.0 editor:indent (atom-text-editor.editor.is-focused)
  6x -2:03.3.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -1:56.5.0 editor:newline (atom-text-editor.editor.is-focused)
  2x -1:55.2.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:41.5.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -1:41.5.0 snippets:expand (atom-text-editor.editor.is-focused)
     -1:41.5.0 editor:indent (atom-text-editor.editor.is-focused)
  5x -1:38.4.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:05.8.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Config

{
  "core": {
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "._*",
      "Thumbs.db",
      ".pioenvs",
      ".piolibdeps",
      ".clang_complete",
      ".gcc-flags.json"
    ]
  }
}

Installed Packages

# User
autocomplete-clang, v0.10.0 (active)
build, v0.65.0 (inactive)
busy, v0.7.0 (active)
language-ini, v1.16.0 (inactive)
linter, v1.11.16 (inactive)
linter-gcc, v0.6.15 (active)
minimap, v4.25.0 (inactive)
platformio-ide, v1.6.0 (inactive)
platformio-ide-terminal, v2.2.0 (inactive)
remote-sync, v4.1.5 (active)
tool-bar, v1.0.1 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.51.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.43.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.3.2 (active)
one-light-ui, v1.3.2 (inactive)
one-dark-syntax, v1.2.0 (active)
one-light-syntax, v1.2.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.2 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.0 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.0 (active)
bookmarks, v0.41.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.39.0 (active)
fuzzy-finder, v1.3.0 (active)
git-diff, v1.1.0 (active)
find-and-replace, v0.198.0 (inactive)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (active)
image-view, v0.58.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.1 (active)
metrics, v0.53.1 (active)
notifications, v0.64.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.238.2 (active)
snippets, v1.0.2 (active)
spell-check, v0.67.1 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.1 (active)
symbols-view, v0.113.0 (inactive)
tabs, v0.98.1 (active)
timecop, v0.33.1 (active)
tree-view, v0.208.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.32.2 (active)
wrap-guide, v0.38.1 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.0 (active)
language-csharp, v0.12.1 (active)
language-css, v0.36.2 (active)
language-gfm, v0.86.0 (active)
language-git, v0.13.0 (active)
language-go, v0.42.0 (active)
language-html, v0.44.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.22.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.0 (active)
language-less, v0.29.3 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.0 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.68.5 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.52.0 (active)
language-shellscript, v0.22.3 (active)
language-source, v0.9.0 (active)
language-sql, v0.21.1 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.8 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages
sproclavism commented 7 years ago

[Enter steps to reproduce:]

  1. Install the highlight-selected package.
  2. Error on activation with Show in Status Bar setting enabled / toggling the Show in Status Bar setting

Atom: 1.14.4 x64 Electron: 1.3.13 OS: Ubuntu 14.04.5 Thrown From: status-bar package 1.7.0

Stack Trace

Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.

At /usr/share/atom/resources/app.asar/node_modules/status-bar/lib/status-bar-view.js:72

Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
    at Error (native)
    at /app.asar/node_modules/status-bar/lib/status-bar-view.js:72:22)
    at HighlightedAreaView.module.exports.HighlightedAreaView.setupStatusBar (/packages/highlight-selected/lib/highlighted-area-view.coffee:215:33)
    at HighlightedAreaView.setupStatusBar (/packages/highlight-selected/lib/highlighted-area-view.coffee:1:1)
    at /packages/highlight-selected/lib/highlighted-area-view.coffee:227:10
    at /app.asar/src/config.js:635:20
    at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
    at Config.module.exports.Config.emitChangeEvent (/app.asar/src/config.js:826:29)
    at Config.module.exports.Config.setRawValue (/app.asar/src/config.js:612:19)
    at Config.module.exports.Config.set (/app.asar/src/config.js:227:14)
    at SettingsPanel.module.exports.SettingsPanel.set (/app.asar/node_modules/settings-view/lib/settings-panel.js:200:28)
    at setNewValue (/app.asar/node_modules/settings-view/lib/settings-panel.js:136:28)
    at /app.asar/node_modules/settings-view/lib/settings-panel.js:142:22)
    at HTMLInputElement.dispatch (/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLInputElement.elemData.handle (/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -9:53.2.0 linter:lint (atom-text-editor.editor)
     -9:12.6.0 application:new-file (ul.list-inline.tab-bar.inset-panel)
     -9:05.5.0 linter:lint (atom-text-editor.editor.is-focused)
     -9:03.2.0 application:new-file (ul.list-inline.tab-bar.inset-panel)
 11x -5:53.9.0 linter:lint (atom-text-editor.editor.is-focused)

Non-Core Packages

atom-beautify 0.29.17 
atom-typescript 10.1.14 
emmet 2.4.3 
highlight-selected 0.12.0 
linter 1.11.23 
minimap-highlight-selected 4.5.0 
pinned-tabs 0.4.2 
swackets 0.26.0 
HimasRafeek commented 7 years ago

styles\style.scss6:14Not compiled CRLF2 deprecationsUTF-8SCSS Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node. C:\Users\User\AppData\Local\atom\app-1.15.0\resources\app.asar\node_modules\status-bar\lib\status-bar-view.js:67 Hide Stack Trace Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.

at Error (native)
at StatusBarView.module.exports.StatusBarView.addLeftTile (C:\Users\User\AppData\Local\atom\app-1.15.0\resources\app.asar\node_modules\status-bar\lib\status-bar-view.js:67:22)
at Object.updateStatusBar (file:///C:/Users/User/.atom/packages/open-in-browsers/lib/open-in-browsers.coffee:236:32)
at file:///C:/Users/User/.atom/packages/open-in-browsers/lib/open-in-browsers.coffee:220:10
at Function.module.exports.Emitter.simpleDispatch (C:\Users\User\AppData\Local\atom\app-1.15.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (C:\Users\User\AppData\Local\atom\app-1.15.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:129:28)
at C:\Users\User\AppData\Local\atom\app-1.15.0\resources\app.asar\src\pane-container.js:348:27
at Function.module.exports.Emitter.simpleDispatch (C:\Users\User\AppData\Local\atom\app-1.15.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (C:\Users\User\AppData\Local\atom\app-1.15.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:129:28)
at Pane.module.exports.Pane.setActiveItem (C:\Users\User\AppData\Local\atom\app-1.15.0\resources\app.asar\src\pane.js:300:22)
at Pane.module.exports.Pane.activateItem (C:\Users\User\AppData\Local\atom\app-1.15.0\resources\app.asar\src\pane.js:452:21)
at TabBarView.module.exports.TabBarView.onMouseDown (C:\Users\User\AppData\Local\atom\app-1.15.0\resources\app.asar\node_modules\tabs\lib\tab-bar-view.js:678:19)

**How to Fix this Please help me

Thanks!**

ron-wolf commented 7 years ago

I’m not sure exactly how this happened; I just switched from editor window to editor window and enabled/disabled some packages that appear in the Status Bar, and when I came back to my original window all the tabs were gone and this error showed up. I hope the stack trace helps in some way!

Atom: 1.18.0-beta2 x64 Electron: 1.3.15 OS: Mac OS X 10.12.6 Thrown From: status-bar package 1.8.8

Stack Trace

Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.

At /Applications/Atom Beta.app/Contents/Resources/app/node_modules/status-bar/lib/status-bar-view.js:90

Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
    at Error (native)
    at StatusBarView.module.exports.StatusBarView.addRightTile (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/status-bar/lib/status-bar-view.js:90:29)
    at Object.showStatusBarIfNeeded (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/about/lib/main.js:81:49)
    at subscriptions.add.updateManager.onDidChange (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/about/lib/main.js:30:20)
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at UpdateManager.emitDidChange (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/about/lib/update-manager.js:78:26)
    at UpdateManager.setAvailableVersion (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/about/lib/update-manager.js:128:18)
    at /Applications/Atom Beta.app/Contents/Resources/app/node_modules/about/lib/update-manager.js:50:21
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/auto-update-manager.js:34:29
    at EventEmitter.outerCallback (/Applications/Atom Beta.app/Contents/Resources/app/src/application-delegate.js:294:24)
    at emitThree (events.js:121:20)
    at EventEmitter.emit (events.js:194:7)

Commands

  2x -5:18.6.0 pane:reopen-closed-item (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages

atom-beautify 0.29.26 
atom-clock 0.1.11 
atom-material-syntax 1.0.6 
atom-material-ui 2.0.4 
ats-atom 0.5.0 
build 0.68.0 
build-make 0.13.0 
clojure-indent 0.2.0 
django-atom 0.2.4 
editor-stats 0.17.0 
file-type-icons 1.3.4 
fizzy 0.21.0 
git-time-machine 1.5.9 
hyperclick 0.0.40 
hyperlink-hyperclick 1.3.4 
improved-chester-atom-syntax 0.3.0 
ink 0.6.5 
intentions 1.1.2 
language-ats 0.1.5 
language-crystal-actual 0.35.0 
language-haskell 1.12.1 
language-idris 0.4.9 
language-ocaml 1.9.5 
language-rust 0.4.10 
linter 2.1.4 
linter-ruby 1.2.5 
linter-ui-default 1.6.0 
one-tab 0.10.0 
proto-repl 1.4.20 
release-notes 0.53.0 
scroll-through-time 0.2.0 
symbol-gen 1.3.1 
tab-title 0.3.3 
tree-ignore 0.6.2 
typewriter 0.7.0 
unfancy-file-icons 0.11.0 
vim-mode-plus 0.93.0 
wakatime 7.0.3 
icetee commented 6 years ago

I got that error message when I did develop my plugin and addLeftTile / addRightTile options item property equal null.