Open
Description
Hi, I'm getting an internal exception error but I'm not too sure why. I'm running solc on an express server.
Steps to getting this error:
- Compile a contract that has invalid imports
- Try to compile a contract that has valid imports
solc.compile()
throws error
Error i'm getting:
{
errors: [
{
component: 'general',
formattedMessage: 'Internal exception in StandardCompiler::compile: /solidity/libsolidity/interface/CompilerStack.cpp(107): Throw in function solidity::frontend::CompilerStack::CompilerStack(ReadCallback::Callback)\n' +
'Dynamic exception type: boost::wrapexcept<solidity::langutil::InternalCompilerError>\n' +
'std::exception::what: You shall not have another CompilerStack aside me.\n' +
'[solidity::util::tag_comment*] = You shall not have another CompilerStack aside me.\n',
message: 'Internal exception in StandardCompiler::compile: /solidity/libsolidity/interface/CompilerStack.cpp(107): Throw in function solidity::frontend::CompilerStack::CompilerStack(ReadCallback::Callback)\n' +
'Dynamic exception type: boost::wrapexcept<solidity::langutil::InternalCompilerError>\n' +
'std::exception::what: You shall not have another CompilerStack aside me.\n' +
'[solidity::util::tag_comment*] = You shall not have another CompilerStack aside me.\n',
severity: 'error',
type: 'InternalCompilerError'
}
]
}