Mallet IELE Compiler crashes without Uncaught Error

I was able to get mallet running with the command ./mallet iele -d .

I created a simple contract that works in Remix but when I try to compile the contract using iele I get a Uncaught 'Compiler error: 0\nundefined’

The contract below

pragma solidity ^0.4.0;

contract Inbox {

    string public message;

    function Inbox(string initialMessage) public {
        message = initialMessage;

    function setMessage(string newMessage) public returns(string) {
        message = newMessage;


Not sure which versions you are using, but you can try:

pragma solidity >=0.4.0 <0.8.0;

Also, I see you had to use datadir to start. Maybe try full path to your file. Not sure of folder name and location where you keep it, maybe try something like:

Otherwise check if you have an updated version. If not follow instructions in this link Mallet end to end tutorial

1 Like