You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If compilation fails because of a TypeError, for example, the plugin will throw an error because it tries to process the data even though there is no data.
embark-solc: C:/dev/status-teller-network/.embark/contracts/teller-network/Arbitration.sol:57:56: TypeError: Data location must be "memory" for parameter in function, but none was given.
function openCase(uint _escrowId, address _openBy, string motive) public {
^-----------^
Error Compiling/Building contracts: Error while compiling
Error while compiling
(node:21424) UnhandledPromiseRejectionWarning: TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at buildContractInfo (C:\dev\status-teller-network\node_modules\@trailofbits\embark-contract-info\index.js:17:36)
at run (C:\dev\status-teller-network\node_modules\@trailofbits\embark-contract-info\index.js:33:26)
at EventEmitter.emit (events.js:187:15)
at EventEmitter.emit (domain.js:442:20)
at compileSolcContract (C:\dev\status-teller-network\node_modules\embark-solc\lib\Compiler.js:136:23)
at shelljs.ShellString.exec (C:\dev\status-teller-network\node_modules\embark-solc\lib\Compiler.js:22:5)
at C:\dev\status-teller-network\node_modules\embark-solc\node_modules\shelljs\src\exec.js:121:9
at ChildProcess.exithandler (child_process.js:280:7)
at ChildProcess.emit (events.js:182:13)
at ChildProcess.EventEmitter.emit (domain.js:442:20)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
(node:21424) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
Note: Error experienced with embark-solc, but it will probably happen with Embark itself and it is better to make sure the data is complete before trying to process it.
The text was updated successfully, but these errors were encountered:
If compilation fails because of a TypeError, for example, the plugin will throw an error because it tries to process the data even though there is no data.
Note: Error experienced with embark-solc, but it will probably happen with Embark itself and it is better to make sure the data is complete before trying to process it.
The text was updated successfully, but these errors were encountered: