When trying to use some source i got the error: "Error: Contract could not be compiled. Try another pragma solidity version.". After eliminating it turns out the following contact is causing the error:
pragma solidity ^0.5.0;
import "./test.sol";
The developer console contains
bundle.js:48855 TypeError: Cannot read property 'legacyAssembly' of undefined
bundle.js:48856 [ERROR] parse standard output error
bundle.js:49459 Error: pretest failed