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.

Set window.event while sandbox destroyed or inactive in account-micro!

See original GitHub issue

What happens?

在应用间切换的时候有下面两种 warning react_devtools_backend.js:4049 [qiankun] Set window.event while sandbox destroyed or inactive in account-micro! A clear and concise description of what the bug is.

You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path “/account-micro” to begin with “/umi-app1-micro”.

Mini Showcase Repository(REQUIRED)

https://github.com/GreatAuk/micro-frontend

Provide a mini GitHub repository which can reproduce the issue.

How To Reproduce

确保本地已安装 leran (yarn global add lerna)

$ lerna bootstrap # 安装依赖

$ lerna run start # 

运行 lerna run start 后访问 http://localhost:8000/dashboard 在应用之间切换

Context

  • qiankun Version:
  • Platform Version: mac os 10.15.7
  • Browser Version: chrome 93.0.4577.82

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

3reactions
GreatAukcommented, Sep 16, 2021

@gongshun 看这个 issue https://github.com/umijs/qiankun/issues/222 是修复了的,不知道为什么现在又能复现了。这个 warning 会有实际的性能影响或产生 bug 吗

0reactions
sanfengzhanggifcommented, May 24, 2022

哈 ,有人知道为啥报这个警告么?目前是主应用umiqiankun,子应用是vue2.X,试过了,子应用改为hash模式就不会出现,history就会出现

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set window.event while sandbox destroyed or inactive in ...
Set window.event while sandbox destroyed or inactive in account-micro!
Read more >
qiankun 2.x 运行时沙箱源码分析- 李永宁 - 博客园
NODE_ENV === 'development') { console.warn(`[qiankun] Set window.${p.toString()} while sandbox destroyed or inactive in ${name}!`); ...
Read more >
nonmarital childbearing escalated - WorldWideScience
We find little evidence that employment predicts nonmarital fertility, although it does strongly (and positively) predict marital fertility.
Read more >
Photos - Manton Reece
When adding feeds, you can now set posts to import to a blog instead of just ... Makes me smile so I can't...
Read more >
A C OGNITIVE MALWARE CHARACTERIZATION FRAMEWORK
Endpoint Detection and Response, Microsoft Windows, process tree, polymorphism, ... technologies such as sandboxing and therefore, can stay quiet/inactive.
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