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

Uncaught promise in "app.js" & no table visible on browser. #50

Open
Husain0007 opened this issue May 15, 2021 · 4 comments
Open

Uncaught promise in "app.js" & no table visible on browser. #50

Husain0007 opened this issue May 15, 2021 · 4 comments

Comments

@Husain0007
Copy link

Hello, I have run the lite-server and connected metamask with the account in ganache and yet I am unable to see the table that should appear as per the Tutorial @1:11:14. I am also getting a promise error which I don't know how to resolve. Help will be highly appreciated.
Setup
Truffle = v.5.3.6
web3 = v.1.3.6
node = v.12.16.1
Screenshot 2021-05-15 at 11 45 48 PM
Screenshot 2021-05-15 at 11 46 24 PM

@KukretiShubham
Copy link

How you did this ?
I am getting this error : TypeError: Indexed expression has to be a type, mapping or array (is uint256)
candidatesCount[candidatesCount] = Candidate(candidatesCount,_name,0);

@shikshanayak
Copy link

hey did you get an answer ??
because I'm getting the same error and couldn't solve it.

@Kaditcuy
Copy link

Kaditcuy commented May 8, 2022

Same here has anyone gotten an answer ,i'm still stuck the webpage is still loading and even after successful connection the table is still not displayed.

@Yangying13045
Copy link

在您的HTML代码中,改为
<div id="content" style="display: none;">
<div id="content">

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

5 participants