I noticed, that you are using the old version of faker, that is no longer maintained.
You might want to switch to the maintained package @faker-js/faker.
It has all the versions from the old package, but received numerous updates in the meantime (including built-in types).
Disclaimer: I'm a maintainer of @faker-js/faker.