Added error handling for two scenarios: Not within a request state; a
project with runway environment but runway projects aren't compiled.