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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃槇 [Feature Enhancement] - fix memory leak warnings #1388

Open
KlausMikhaelson opened this issue Jan 17, 2024 · 3 comments
Open

馃槇 [Feature Enhancement] - fix memory leak warnings #1388

KlausMikhaelson opened this issue Jan 17, 2024 · 3 comments
Assignees
Labels
feature enhancement Enhancement in existing feature good first issue Good for newcomers open to community

Comments

@KlausMikhaelson
Copy link
Collaborator

Feature name

following good practices to remove warnings and errors from the dapp

Describe the Enhancement

When we open the dapp it creates multiple warnings and errors so we have to fix them

Figma Design if available

No response

Screenshots

![DESCRIPTION](LINK.png)

Dapp Env

Prod (app.push.org), Staging (staging.push.org), Dev (dev.push.org)

@KlausMikhaelson KlausMikhaelson added feature enhancement Enhancement in existing feature open to community good first issue Good for newcomers labels Jan 17, 2024
@FaybianB
Copy link

Hello Satyam, may I be assigned this issue?

@KlausMikhaelson
Copy link
Collaborator Author

Hey @FaybianB sure will assign it to you!, let me know if you have any questions regarding the same!

@FaybianB
Copy link

Hey Satyam,

I'm having trouble getting the development environment set up by following the instructions in the Getting Started and Contributors section.

I experience one of these two runtime errors when I try to run the app via yarn start:

Uncaught runtime errors:

ERROR
Cannot read properties of undefined (reading 'name')
TypeError: Cannot read properties of undefined (reading 'name')
    at http://localhost:3000/static/js/bundle.js:24298:22
    at Array.forEach (<anonymous>)
    at getWeb3OnboardChains (http://localhost:3000/static/js/bundle.js:24294:65)
    at ./src/connectors/web3Onboard.tsx (http://localhost:3000/static/js/bundle.js:24498:77)
    at options.factory (http://localhost:3000/static/js/bundle.js:874496:31)
    at __webpack_require__ (http://localhost:3000/static/js/bundle.js:873884:33)
    at fn (http://localhost:3000/static/js/bundle.js:874153:21)
    at ./src/index.js (http://localhost:3000/static/js/bundle.js:30492:82)
    at options.factory (http://localhost:3000/static/js/bundle.js:874496:31)
    at __webpack_require__ (http://localhost:3000/static/js/bundle.js:873884:33)

OR

Uncaught runtime errors:

ERROR
reactSpring.useSpring is not a function
TypeError: reactSpring.useSpring is not a function
   at DarkModeSwitch (http://localhost:3000/static/js/bundle.js:613582:39)
   at renderWithHooks (http://localhost:3000/static/js/bundle.js:372631:22)
   at mountIndeterminateComponent (http://localhost:3000/static/js/bundle.js:375114:17)
   at beginWork (http://localhost:3000/static/js/bundle.js:376167:20)
   at HTMLUnknownElement.callCallback (http://localhost:3000/static/js/bundle.js:363208:18)
   at Object.invokeGuardedCallbackDev (http://localhost:3000/static/js/bundle.js:363252:20)
   at invokeGuardedCallback (http://localhost:3000/static/js/bundle.js:363307:35)
   at beginWork$1 (http://localhost:3000/static/js/bundle.js:380298:11)
   at performUnitOfWork (http://localhost:3000/static/js/bundle.js:379309:16)
   at workLoopSync (http://localhost:3000/static/js/bundle.js:379254:9)

These errors alternate, depending on my environment setup here:

# REACT_APP needs to be appended to use env in react app
# NODE_ENV can be development or production | production makes a super optimized dapp experience
REACT_APP_NODE_ENV=production

# DEPLOY_ENN can be LOCALHOST, DEV, STAGING, PROD, W2W or ALPHA
REACT_APP_DEPLOY_ENV=DEV

I have my Infura API Keys defined as well as my WalletConnect project ID.

I've ran yarn install so I believe I should have all of the packages.

I don't have access to the Discord for troubleshooting because the invites have expired.

Do you have any advice on how I can get passed these issues and get the project setup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature enhancement Enhancement in existing feature good first issue Good for newcomers open to community
Projects
None yet
Development

No branches or pull requests

2 participants