fundMe is not compiling and getting error #334
yasiriqbal1990
started this conversation in
General
Replies: 1 comment 3 replies
-
@yasiriqbal1990 Hi, can you pass the block of code that is causing the error please? It seems like a simple syntax error. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I run, When I run npx hardhat compile then I get this error. The syntax of FundMe.sol is correct but I do not know why this error is shoing.
ParserError: Expected ';' but got '('
--> contracts/FundMe.sol:7:15:
|
7 | error NotOwner();
| ^
Error HH600: Compilation failed
Beta Was this translation helpful? Give feedback.
All reactions