question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught react app: Application 'react app' died in status UNMOUNTING: unmountComponentAtNode(...): Target container is not a DOM element.

See original GitHub issue

What happens?

I tried the examples. An exception threw.

Uncaught react app: Application 'react app' died in status UNMOUNTING: unmountComponentAtNode(...): Target container is not a DOM element.
    at eval (eval at exec (http://localhost:7099/main.e31bb0bc.js:31987:11), <anonymous>:30509:32)
    at Object.unmountComponentAtNode (eval at exec (http://localhost:7099/main.e31bb0bc.js:31987:11), <anonymous>:30512:11)
    at Array.unmount (eval at exec (http://localhost:7099/main.e31bb0bc.js:31987:11), <anonymous>:171157:21)
    at i (http://localhost:7099/main.e31bb0bc.js:32599:21)
    at http://localhost:7099/main.e31bb0bc.js:32601:38

Mini Showcase Repository(REQUIRED)

No showcase

How To Reproduce

Steps to reproduce the behavior:

  1. npm run install:examples
  2. npm start
  3. click react16 + antd3, then click react15 + antd2 immediately

Expected behavior

  1. content should change

Context

The bug can be reproduced when I click the li fast.

  • Node Version: 12.4.0
  • Platform: MacOS

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
wumiangithubcommented, Jun 22, 2021

怎么解决的,我也遇到同样问题

1reaction
kuitoscommented, Sep 17, 2019

fixed 重新跑下 npm run build 即可

Read more comments on GitHub >

github_iconTop Results From Across the Web

application 'app1' died in status UNMOUNTING ... - GitHub
Uncaught Error: application 'app1' died in status UNMOUNTING: unmountComponentAtNode(…): Target container is not a DOM element #729.
Read more >
Single-Spa: Uncaught Error: application 'app1' died in status ...
Single-Spa: Uncaught Error: application 'app1' died in status UNMOUNTING: unmountComponentAtNode(...): Target container is not a DOM element.
Read more >
unmountComponentAtNode(...): Target container is not a DOM ...
Uncaught react app : Application 'react app' died in status UNMOUNTING: unmountComponentAtNode(): Target container is not a DOM element.
Read more >
FAQ - qiankun - UmiJS
Application died in status NOT_MOUNTED: Target container with #container not existed while xxx mounting! This error usually occurs when the main app is...
Read more >
Beanstalkhq - Bountysource
Uncaught Error: application 'app1' died in status UNMOUNTING: unmountComponentAtNode(...): Target container is not a DOM element. This is how my index.js ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found