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

Blank screen on Chrome #187

Open
ywong-cais opened this issue May 30, 2023 · 2 comments
Open

Blank screen on Chrome #187

ywong-cais opened this issue May 30, 2023 · 2 comments

Comments

@ywong-cais
Copy link

ywong-cais commented May 30, 2023

Hi, thanks for this debugger.

This issue was previously reported #122. I am seeing the same blank screen problem, the symptom is also the same with a brief flash of the menu then completely blank.

I've tried the following but no luck

  • remove debugger from Chrome
  • restart chrome
  • add debugger and go to app
  • same problem
    "recoil": "0.7.7",
    "recoilize": "3.2.0",

On rare occasions restarting everything fixes it but it's unpredictable and can take a lot of tries.

@kecsot
Copy link

kecsot commented Jul 4, 2023

Same for me.

    "recoil": "^0.7.7",
    "recoil-persist": "^4.2.0",
    "recoilize": "^3.2.0",
  "devDependencies": {
    "@types/recoilize": "^0.8.0",

Chrome: 114.0.5735.198 (arm64)

Update:
Works well with https://www.recoilize.io/
So I keep searching the issue in my project

Error:
Uncaught TypeError: Cannot read properties of null (reading 'tag')

 generateCleanComponentAtomTree = (inputObj) => {
    const obj = {};
    let counter = 0;
    const innerClean = (inputObj, outputObj, counter = 0) => {
        if ((inputObj.tag === 0 || inputObj.tag === 2) &&
            inputObj.name !== 'RecoilRoot' &&
            inputObj.name !== 'Batcher' &&
            inputObj.name !== 'RecoilizeDebugger' &&
            inputObj.name !== 'CssBaseline') {

@kecsot
Copy link

kecsot commented Jul 4, 2023

works after two changes

Uncaught TypeError: Cannot read properties of null (reading 'tag')

- inputObj.tag === 0 || inputObj.tag === 2) &&
+ inputObj?.tag === 0 || inputObj?.tag === 2) &&

TypeError: Cannot read properties of null (reading 'children')

- for (let i = 0; i < inputObj.children.length; i++) {
+ for (let i = 0; i < inputObj?.children.length; i++) {

Someone have any idea why is it happened only for us?

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