Skip to content

Instantly share code, notes, and snippets.

@christoph2806
Created January 21, 2017 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christoph2806/a1009425dd17b474e3c97ecb64125dc2 to your computer and use it in GitHub Desktop.
Save christoph2806/a1009425dd17b474e3c97ecb64125dc2 to your computer and use it in GitHub Desktop.
$ truffle compile
/usr/local/lib/node_modules/truffle/node_modules/solidity-parser/index.js:39
throw e;
^
SyntaxError: Expected "contract", "import", "library", "pragma", "using", comment, end of input, end of line or whitespace but "}" found. Line: 24, Column: 1
at peg$buildException (/usr/local/lib/node_modules/truffle/node_modules/solidity-parser/build/imports_parser.js:487:14)
at Object.peg$parse [as parse] (/usr/local/lib/node_modules/truffle/node_modules/solidity-parser/build/imports_parser.js:4080:13)
at Object.parse (/usr/local/lib/node_modules/truffle/node_modules/solidity-parser/index.js:34:23)
at /usr/local/lib/node_modules/truffle/lib/profiler.js:134:36
at tryToString (fs.js:455:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment