OpenZeppelin / gsn-sample-chat_app

OpenZeppelin starter-kit based GSN tutorial for a Chat App
MIT License
20 stars 18 forks source link

error // when using 'oz create' #22

Open walter-grace opened 5 years ago

walter-grace commented 5 years ago

I keep getting this error, tried a few different tries, I get this error;

_Error while validating contract ChatApp: Error: Cannot find source data for contract Ownable (base contract of ChatApp). This often happens because either:

Then I also have this at the bottom; No AST nodes of type ContractDefinition with id 693 found.

Not sure the issue, thanks in advance

abcoathup commented 5 years ago

Hi @walter-grace

I assume you have tried clearing your build folder and recompiling before doing npx oz create?

rm -rf build
npx openzeppelin compile
crazyrabbitLTC commented 5 years ago

Hi @walter-grace ! Do you have a github repo I could take a look at? I think there is a probably an issue with the way contracts are being inherited or the dependencies. Are you using the cloned chat-app repo with no changes?

walter-grace commented 5 years ago

@abcoathup When I use npx oz create I don't get the main error; but still an error that says:

No AST nodes of type ContractDefinition with id 693 found

@crazyrabbitLTC i just used git clone https://github.com/OpenZeppelin/gsn-sample-chat_app

abcoathup commented 5 years ago

Hi @walter-grace

What Operating System, node/npm versions are you running this on?

walter-grace commented 5 years ago

@abcoathup Mac OS node -v v10.16.0 npm -v 6.9.0