Semantic Search - Typescript exemple - Several moduls have no default exports

Good evening, I am going through the Semantic Search - Typescript example and even if I download the standard code I have several errors, in particular around modules that have no default exports. In particular I get the error: Module fs/promises has no default export and Papa from papaparse has no default export. I am not able to load the test.csv file with the provided functions. Has anyone faced the same error