Error when updating Moralis SDK to the latest version

When I try to update Moralis SDK from version 0.0.184 to the latest (1.3.1), or even any version above 0.0.184, the whole website goes blank and it doesn’t load anything from the server. Please advise ASAP.

Hi, probably is related to this migration: Moralis JS SDK v1.0 (migration to Ethers.js)