I have found a single-line solution for this and related errors in projects using NestJS + Deno + GraphQL + npm packages
. Other solutions were not working for me. Hence, sharing it here, as it might help someone save some time. It may be relatable to projects using other runtimes like bun, node.
You can find the detailed answer here >> https://stackoverflow.com/a/79107940/13607767