jasonkuhrt / graphql-request

Minimal GraphQL client
MIT License
5.74k stars 307 forks source link

version 7 doesn't support React Native Metro build #946

Closed oojr closed 6 days ago

oojr commented 6 days ago
Metro has encountered an error: While trying to resolve module `graphql-request` from ... file ... the package was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`/Users/...)`. Indeed, none of these files exist:
]

graphql-request can not be built on a fresh React Native install

jasonkuhrt commented 6 days ago

Duplicate of https://github.com/jasonkuhrt/graphql-request/issues/548