You are using an older version of AG Grid. To upgrade, please see the
migration guide.
Full Error Text
tried to call sizeColumnsToFit() but the grid is coming back with zero width, maybe the grid is not visible yet on the screen?
To show this error text in the dev console, import the ValidationModule.