Compilation failed. Receiving ParserError #5278
Unanswered
daryle-tan
asked this question in
General Q&A
Replies: 2 comments
-
Hey @daryle-tan! Any chance you might be able to share the full code (perhaps via a Github gist) so we can better help troubleshoot? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Kevin,
Thank you for the response. Here is the Github gist <script src="
https://gist.github.com/daryle-tan/2f456998fac42cd2ecf96a64aeb7dde3.js"></script>
or https://gist.github.com/2f456998fac42cd2ecf96a64aeb7dde3.git
…On Mon, Jul 11, 2022 at 1:21 PM Kevin Bluer ***@***.***> wrote:
Hey @daryle-tan <https://github.com/daryle-tan>! Any chance you might be
able to share the full code (perhaps via a Github gist
<https://gist.github.com/>) so we can better help troubleshoot?
—
Reply to this email directly, view it on GitHub
<#5278 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWX2QVA7632MMWVTNITN2ULVTRQ3TANCNFSM53D7RRZA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Daryle Tan
|
Beta Was this translation helpful? Give feedback.
0 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.
-
I am currently doing the truffle-pet-shop-tutorial and after running $ truffle compile, I receive this error message: ParsedContract.sol:7:1: ParserError: Expected pragma, import directive or contract/interface/library definition.
function adopt(uint petId) public returns (uint) {
^------^
Compilation failed. See above.
Beta Was this translation helpful? Give feedback.
All reactions