opensea-creatures icon indicating copy to clipboard operation
opensea-creatures copied to clipboard

Get the following error when deploying: ParserError: Expected primary expression

Open nidhhoggr opened this issue 2 years ago • 1 comments

Is this repository still maintained? It's still referenced in the OpenSea documentation. When following the README line-by-line the following error will be reproduced because there seems to be a placeholder in the Creature.sol smart contract.

Command ran:

yarn  truffle deploy --network rinkeby

Resulting Error Output:

✔ Fetching solc version list from solc-bin. Attempt #1

ParserError: Expected primary expression.
  --> ~/opensea-creatures/contracts/Creature.sol:21:16:
   |
21 |         return <contractUrlHere>;
   |                ^

Compilation failed. See above.
Truffle v5.2.5 (core: 5.2.5)
Node v14.17.0
error Command failed with exit code 1.

Shouldn't there be some explanation to replacing this before running truffle deploy?

nidhhoggr avatar May 14 '22 20:05 nidhhoggr

I found the culprit here: https://github.com/ProjectOpenSea/opensea-creatures/commit/8a9c0915ccaa1d13de0a71402183257c569eb28f

nidhhoggr avatar May 14 '22 20:05 nidhhoggr