emit: Add errors for invalid nodes at global scope
emit: Add errors for invalid nodes at global scope

scizzorz/rain,scizzorz/rain,philipdexter/rain,scizzorz/rain,scizzorz/rain,philipdexter/rain,philipdexter/rain,philipdexter/rain