Github: Github package error "Uncaught (in promise) TypeError: validateDOMNesting.updatedAncestorInfo is not a function"

Created on 14 Sep 2017  路  4Comments  路  Source: atom/github

Github and Git tabs do not open. Even with only core packages installed or reinstalling altogether.

Steps to Reproduce

  1. Can't open the Git tab at anytime.

Versions

Atom : 1.20.0
Electron: 1.6.9
Chrome : 56.0.2924.87
OS: Windows 7 x64
Node : 7.4.0

Stack Trace

Uncaught (in promise) TypeError: validateDOMNesting.updatedAncestorInfo is not a function
at ReactDOMContainerInfo (C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesreact-domlibReactDOMContainerInfo.js:27:58)
at mountComponentIntoNode (C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesreact-domlibReactMount.js:104:89)
at ReactReconcileTransaction.perform (C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesreact-domlibTransaction.js:143:26)
at batchedMountComponentIntoNode (C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesreact-domlibReactMount.js:126:21)
at ReactDefaultBatchingStrategyTransaction.perform (C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesreact-domlibTransaction.js:143:26)
at Object.batchedUpdates (C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesreact-domlibReactDefaultBatchingStrategy.js:62:32)
at Object.batchedUpdates (C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesreact-domlibReactUpdates.js:97:33)
at Object._renderNewRootComponent (C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesreact-domlibReactMount.js:319:24)
at Object._renderSubtreeIntoContainer (C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesreact-domlibReactMount.js:401:38)
at Object.render (C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesreact-domlibReactMount.js:422:29)
at GithubPackage.rerender (C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesgithublibgithub-package.js:335:30)
at C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesgithublibgithub-package.js:304:19
at Generator.next ()
at step (C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesgithublibgithub-package.js:96:197)
at C:Users043831AppDataLocalatomapp-1.20.0resourcesappnode_modulesgithublibgithub-package.js:96:367

Most helpful comment

I'm seeing this same issue, the error only shows up in the developer console the first time the tabs are attempted to be opened. This is even after a completely fresh installation of 1.20 with only the core packages installed.

Versions

atom --version
Atom : 1.20.0
Electron: 1.6.9
Chrome : 56.0.2924.87
Node : 7.4.0
OS: Mac OS Sierra 10.12.6 (16G29)

apm --version
apm 1.18.4
npm 3.10.10
node 6.9.5 x64
python 2.7.13
git 2.13.3

Stack Trace

Uncaught (in promise) TypeError: validateDOMNesting.updatedAncestorInfo is not a function
    at ReactDOMContainerInfo (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactDOMContainerInfo.js:27:58)
    at mountComponentIntoNode (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:104:89)
    at ReactReconcileTransaction.perform (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/Transaction.js:143:26)
    at batchedMountComponentIntoNode (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:126:21)
    at ReactDefaultBatchingStrategyTransaction.perform (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/Transaction.js:143:26)
    at Object.batchedUpdates (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactDefaultBatchingStrategy.js:62:32)
    at Object.batchedUpdates (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactUpdates.js:97:33)
    at Object._renderNewRootComponent (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:319:24)
    at Object._renderSubtreeIntoContainer (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:401:38)
    at Object.render (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:422:29)
    at GithubPackage.rerender (/Applications/Atom.app/Contents/Resources/app/node_modules/github/lib/github-package.js:335:30)
    at GithubPackage.setActiveContext (/Applications/Atom.app/Contents/Resources/app/node_modules/github/lib/github-package.js:632:18)
    at /Applications/Atom.app/Contents/Resources/app/node_modules/github/lib/github-package.js:653:20
    at Generator.next (<anonymous>)
    at step (/Applications/Atom.app/Contents/Resources/app/node_modules/github/lib/github-package.js:96:197)
    at /Applications/Atom.app/Contents/Resources/app/node_modules/github/lib/github-package.js:96:367
    at process._tickCallback (internal/process/next_tick.js:103:7)

All 4 comments

I'm seeing this same issue, the error only shows up in the developer console the first time the tabs are attempted to be opened. This is even after a completely fresh installation of 1.20 with only the core packages installed.

Versions

atom --version
Atom : 1.20.0
Electron: 1.6.9
Chrome : 56.0.2924.87
Node : 7.4.0
OS: Mac OS Sierra 10.12.6 (16G29)

apm --version
apm 1.18.4
npm 3.10.10
node 6.9.5 x64
python 2.7.13
git 2.13.3

Stack Trace

Uncaught (in promise) TypeError: validateDOMNesting.updatedAncestorInfo is not a function
    at ReactDOMContainerInfo (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactDOMContainerInfo.js:27:58)
    at mountComponentIntoNode (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:104:89)
    at ReactReconcileTransaction.perform (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/Transaction.js:143:26)
    at batchedMountComponentIntoNode (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:126:21)
    at ReactDefaultBatchingStrategyTransaction.perform (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/Transaction.js:143:26)
    at Object.batchedUpdates (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactDefaultBatchingStrategy.js:62:32)
    at Object.batchedUpdates (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactUpdates.js:97:33)
    at Object._renderNewRootComponent (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:319:24)
    at Object._renderSubtreeIntoContainer (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:401:38)
    at Object.render (/Applications/Atom.app/Contents/Resources/app/node_modules/react-dom/lib/ReactMount.js:422:29)
    at GithubPackage.rerender (/Applications/Atom.app/Contents/Resources/app/node_modules/github/lib/github-package.js:335:30)
    at GithubPackage.setActiveContext (/Applications/Atom.app/Contents/Resources/app/node_modules/github/lib/github-package.js:632:18)
    at /Applications/Atom.app/Contents/Resources/app/node_modules/github/lib/github-package.js:653:20
    at Generator.next (<anonymous>)
    at step (/Applications/Atom.app/Contents/Resources/app/node_modules/github/lib/github-package.js:96:197)
    at /Applications/Atom.app/Contents/Resources/app/node_modules/github/lib/github-package.js:96:367
    at process._tickCallback (internal/process/next_tick.js:103:7)

@megaultrachicken Do you by chance have the NODE_ENV environment variable set? If so, what to?

@BinaryMuse I did actually and it was to 'development', I just removed it since it was left over from a previous project, restarted my laptop, reinstalled Atom and it works now. Thank you!

Okay, great 鈥斅爓ell, sort of, this is a dup of https://github.com/atom/github/issues/833. Thanks for the update!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jazeee picture jazeee  路  3Comments

danielbayley picture danielbayley  路  5Comments

move[bot] picture move[bot]  路  3Comments

RafaelNGP picture RafaelNGP  路  4Comments

Ben3eeE picture Ben3eeE  路  4Comments