Error [ERR_REQUIRE_ESM]: require() of ES not supported
Hello, I want to use `graphql upload` package in nestjs. But I am facing some error-

Here is my code-

```
import { GraphqlUpload, FileUpload } from "graphql-upload/GraphQLUpload.mjs";
import { createWriteStream } from 'fs';
```

```
    @Mutation(() => SuccessInfo, { name: "updateProfile" })
    update(
        @Args("file", { type: () => GraphqlUpload }) {
            createReadStream,
            filename
        }: FileUpload
    ) {
        console.log(filename);
    }
```


When I start my server I am getting this error like this-

![image](https://user-images.githubusercontent.com/111189053/209472915-df37e4c3-74cc-4f14-b692-b56e50376765.png)

How can I solve it.