current position:Home>I followed the course practice of voting. When I execute the command "NPM run dev", although the voting page can be opened automatically, I can't connect to metamask. Why?

I followed the course practice of voting. When I execute the command "NPM run dev", although the voting page can be opened automatically, I can't connect to metamask. Why?

2022-02-03 23:42:08 Q & A of Denglian community

In order for the code to execute smoothly , Modified the contract Solidity The version number and plus the first line “license" The definition of .

in addition , There is also a “404” Error prompt for .

image.png




Take the answer 1:

Version updated , A little adjustment . Wait a moment , Let me update github Code .






Other answers 1:

copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032342059543.html

Random recommended