Cannot redefine property: ethereum

Issue is regarding crypto wallet extension tutorial from moralis.

When I try to open a new wallet with seed phrase or sign in with seed pharse I get following error in the devtools console

localhost/:2 Uncaught TypeError: Cannot redefine property: ethereum
at Function.defineProperty ()
at :2:8
VM45:7 TypeError: Cannot redefine property: ethereum
at Function.defineProperty ()
at ia.inject (:7:11799)
at :7:12715
at :7:12752
(anonymous) @ VM45:7
react-dom.development.js:29840 Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
:3001/getTokens?userAddress=0xbFA2900bE00c02EC6019da8AE06ae8C5593d47C2&chain=0x1:1

Failed to load resource: net::ERR_CONNECTION_REFUSED
xhr.js:154 Uncaught (in promise) AxiosError

What could be a reason here?

Hi @alex_112

Can you share the part of the code that is throwing the error Cannot redefine property: ethereum?

This is my network tab

hi please i am also having same problem

We cant get more info form the network tab since this is a type error.

Can you share the part of code from your backend code that returned the TypeError: Cannot redefine property: ethereum?

Hi @redvelvet Your issue could be different, unless you are using the same code base. So I would recommend opening a new ticket for your issue.

Sure, is this what is needed?

Attaching more screenshot. Let me know if more information is needed