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

[Bug]: app.js:158 Uncaught (in promise) TypeError: window.contract.methods.getInfo is not a function #100

Open
3 tasks done
yoyodev577 opened this issue Jul 5, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@yoyodev577
Copy link

Version

  • Yes

General Question

  • No

What happened?

A bug happened!

After deployed the build , it keeps loading and has this error.

image

What have you tried?

I Googled and asked the community in the discord server but could not find a solution.

Relevant log output

No response

Protect your information

  • I Agree
@yoyodev577 yoyodev577 added the bug Something isn't working label Jul 5, 2022
@mohammed0789
Copy link

I'm having the same issue here too.

@lilgoat347
Copy link

same here.

@terryworona
Copy link

Same issue.

@Vemax-L
Copy link

Vemax-L commented Jul 15, 2022

Hello, same here.

@mohammed0789
Copy link

YOU CAN GET IT FIXED BY UPDATING THE API FILE, JUST COPY IT FROM THE BACKEND AND THEN PAST IT INTO THE FRONTEND API FILE.

@fadairo
Copy link

fadairo commented Jul 18, 2022

YOU CAN GET IT FIXED BY UPDATING THE API FILE, JUST COPY IT FROM THE BACKEND AND THEN PAST IT INTO THE FRONTEND API FILE.

What 'api' file?

@fadairo
Copy link

fadairo commented Jul 18, 2022

Follow these instructions for the frontend:

  • Update the frontend/js/abi.js file with the ABI from backend/build/contract/_contract_abi.json.
  • Update your information in the frontend/js/constants.js file.
  • Deploy your dApp to Netlify. (Reference the video for full instructions.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants