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
-
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