Cloned the moralis rarable code from github

Hi guys,

I cloned the moralis rarable code from github after so many issues trying to figure out why my code is not working…

so i did the following:…

after cloning it i made a truffle init (didnt overwrite any files), then npm installed the open zepplin…

and i am getting this errors which i think should be fixed before i proceed with the testing

,Warning: Unreachable code.
  --> /D/clonerariable/rarible-clone/rarible-clone/contracts/contracts/MorarableToken.sol:25:9:
   |
25 |         Items[newItemId] = Item(newItemId, msg.sender, uri);
   |         ^ (Relevant source part starts here and spans across multiple lines).

,Warning: Unreachable code.
   --> /D/clonerariable/rarible-clone/rarible-clone/contracts/node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol:193:67:
    |
193 |         require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

,Warning: Unreachable code.
   --> /D/clonerariable/rarible-clone/rarible-clone/contracts/node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol:241:73:
    |
241 |         require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    |           

can anyone tell me what are the errors and how to solve it..

the repository is https://github.com/MoralisWeb3/youtube-tutorials/tree/main/rarible-clone

there is something wrong with the tutorial, or i am missing something somewhere!

Hi @SmokingCauseCancer,

These are just warnings. You should be able to continue without problems. :slight_smile: