fix error messages for unported node core modules