Not your fault. Usually when facing errors like these I would revert the package version to the old ones with more download counts.
Type in terminal:
npm i [email protected]