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.

[BUG] Cannot read properties of undefined (reading 'dark')

See original GitHub issue

What happened?

trying to add existing seed to GUI and got this error.

Version

1.4.0

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output or stacktrace

Cannot read properties of undefined (reading 'dark')

URL
#/

Stacktrace
at webpack://@chia/gui/node_modules/@mui/material/Button/Button.js:101:53 dark
at webpack://@chia/gui/node_modules/@mui/system/esm/createStyled.js:191:17 Array(numOfCustomFnsApplied).fill
at webpack://@chia/src/utils/flatten.js:68:21 isStatelessFunction
at webpack://@chia/src/models/ComponentStyle.js:91:28 phash
at webpack://@chia/src/models/StyledComponent.js:87:21 useInjectedStyle<T>
at webpack://@chia/src/models/StyledComponent.js:126:4 componentStyle
at webpack://@chia/src/models/StyledComponent.js:245:27 forwardRef
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:157:136 Ch
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:176:259 useOpaqueIdentifier
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:271:399 d=b.pendingProps;e=b.memoizedState;e=null!==e?e.element:null;yg(a,b);Cg(b,d,null,c);d=b.memoizedState.element;if(d===e)sh(),b=hi(a,b,c);else{e=b.stateNode;if(f=e.hydrate)kh=rf(b.stateNode.containerInfo.firstChild),jh=b,f=lh=!0;if

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Jul 12, 2022

dark for now, but i have tried both.

0reactions
seedencommented, Jul 27, 2022

It is duplicate of https://github.com/Chia-Network/chia-blockchain-gui/issues/738. I am closing this one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Cannot read properties of undefined (reading 'dark')
... Button API https://mui.com/api/button/ There is no color danger, so removing color="danger" from the last button will solve the problem.
Read more >
TypeError: Cannot read properties of undefined (reading 'dark ...
Removing color property fixed the issue. Context. Your Environment. `npx @mui/envinfo`.
Read more >
cannot read properties of undefined (reading 'dark') - You.com
There are 3 main reasons the "Cannot read properties of undefined" error occurs: Accessing a property on a variable that stores an undefined...
Read more >
How to Prevent the Error: Cannot Read Property '0' of Undefined
It was recently modified to read TypeError:Cannot read properties of undefined (reading '0') in newer versions of v8. This means that in modern ......
Read more >
Uncaught TypeError: Cannot read properties undefined
[This thread is closed.] Javascript Error: Uncaught TypeError: Cannot read properties of undefined (reading 'setAttribute') at Object.menu…
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