jaydenseric / graphql-upload

Middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.
https://npm.im/graphql-upload
MIT License
1.43k stars 131 forks source link

Main is required in package.json, but it was removed #313

Closed Valeronlol closed 2 years ago

Valeronlol commented 2 years ago

https://github.com/jaydenseric/graphql-upload/commit/1bcd630499a7b14462bb2329a4b2207fba432d84

Error: No "exports" main defined in ../node_modules/graphql-upload/package.json at new NodeError (node:internal/errors:377:5) ...

jaydenseric commented 2 years ago

Duplicates https://github.com/jaydenseric/graphql-upload/issues/305, see https://github.com/jaydenseric/graphql-upload/issues/305#issuecomment-1134736158 .