feat(@embark-site): add troubleshooting guide on interface contracts

This commit is contained in:
Jonathan Rainville 2019-05-07 17:48:08 -04:00
parent 84439cb6fe
commit 1f02e493c4

View File

@ -16,3 +16,10 @@ If you still have problems and are on Windows, try the following:
Issues typically occur if NodeJS and/or Embark are installed using `sudo`, avoid using it possible. There are [several options](https://docs.npmjs.com/getting-started/fixing-npm-permissions) to fix this. We recommend installing node using [NVM](https://github.com/creationix/nvm/blob/master/README.md)
## Assuming Contract to be an interface
This warning happens when Embark can't deploy one of your contracts because the compiler did not return a bytecode.
Here are some of the reasons:
- If it inherits from an interface, it must have all the functions implemented
- The contract's constructor must be `public`