Skip to content

graphql-codegen-esm throws loadTs is not a function #8212

Closed
@mikaelkaron

Description

@mikaelkaron

Describe the bug

When trying the official esm example loadTs is not a function is thrown

Your Example Website or App

https://github.com/dotansimha/graphql-code-generator/tree/master/examples/typescript-esm

Steps to Reproduce the Bug or Issue

  1. fetch local copy of https://github.com/dotansimha/graphql-code-generator/tree/master/examples/typescript-esm
  2. run npm run codegen

Expected behavior

Expected the example to work

Screenshots or Videos

No response

Platform

  • OS: Windows
  • NodeJS: 18.4
  • graphql version: 16.5
  • @graphql-codegen/* version(s): as example

Codegen Config File

No response

Additional context

No response

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions