Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #1

Open
coolhome opened this issue Jun 11, 2015 · 2 comments

Comments

@coolhome
Copy link

Any action on the tree view. Nothing is rendered yet.

Atom Version: 0.208.0
System: Mac OS X 10.10.3
Thrown From: tree-view-finder package, v0.2.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 /Users/Preston/.atom/packages/tree-view-finder/lib/finder-tool.coffee:195

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 tree-view-finder-tool.FinderTool.attach (/Users/Preston/.atom/packages/tree-view-finder/lib/finder-tool.coffee:345:28)
    at Object.module.exports.TreeViewFinder._show (/Users/Preston/.atom/packages/tree-view-finder/lib/tree-view-finder.coffee:187:23)
    at Object.module.exports.TreeViewFinder.attach (/Users/Preston/.atom/packages/tree-view-finder/lib/tree-view-finder.coffee:166:19)
    at HTMLOListElement.<anonymous> (/Users/Preston/.atom/packages/tree-view-finder/lib/tree-view-finder.coffee:132:26)
    at HTMLBodyElement.jQuery.event.dispatch (/Applications/Atom 2.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLBodyElement.elemData.handle (/Applications/Atom 2.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)
    at Object.jQuery.event.trigger (/Applications/Atom 2.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4350:12)
    at Object.jQuery.event.simulate (/Applications/Atom 2.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4652:17)
    at HTMLDocument.handler (/Applications/Atom 2.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4780:18)

Commands

Config

{
  "core": {
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store"
    ],
    "disabledPackages": [
      "linter",
      "linter-phpcs",
      "unregistered",
      "data-atom",
      "minimap",
      "project-manager",
      "toolbar-basic",
      "autocomplete-paths"
    ],
    "themes": [
      "seti-ui",
      "no-caffeine-syntax"
    ],
    "destroyEmptyPanes": false,
    "audioBeep": false
  }
}

Installed Packages

# User
Remote-FTP, v0.7.1
atom-alignment, v0.12.1
atom-handlebars, v0.5.0
autocomplete-php, v0.3.6
docblockr, v0.7.2
highlight-selected, v0.9.3
no-caffeine-syntax, v0.15.2
seti-ui, v0.7.1
tabs-to-spaces, v0.11.0
tree-view-finder, v0.2.1
wakatime, v4.0.9

# Dev
No dev packages
@hanyazou
Copy link
Owner

Could you try to disable some visual/UI mod packages if you install them ? I couldn't reproduce the error.

@coolhome
Copy link
Author

The plugin conflicts w/ Remote-FTP (https://github.com/mgrenier/remote-ftp). When remote-ftp adds a side pane before the tree-free-finder plugin it throws this error. If I close the remote-ftp pane then show tree view it renders currently.

EDIT: I've never done atom development but I think the problem is the query selectors being to vague. I see other packages that modify tree view use the util requirePackage('tree-view') then the selectors from the module itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants