profusion / apollo-federation-file-upload

Add file upload support to Apollo Federated services.
32 stars 27 forks source link

Unable to use package with typescript: No "exports" main defined in /node_modules/graphql-upload/package.json #62

Closed paulbijancoch closed 1 year ago

paulbijancoch commented 1 year ago

🐜 Unable to use package with typescript: No "exports" main defined in /node_modules/graphql-upload/package.json

Expected Behavior

We'd expect to have a working solution with typescript.

Current Behavior

When loading the package, with a setup as in the description, we get an error: No "exports" main defined in /node_modules/graphql-upload/package.json.

Possible Solution

Steps to Reproduce

reproduced on stackblitz

Context (Environment)

Node Version is v16.16.0

paulbijancoch commented 1 year ago

It might be good to follow these instructions: https://github.com/jaydenseric/graphql-upload/tree/v16.0.2#requirements