Skip to content

Commit

Permalink
Document the file field crash issue on node 13 (keystonejs#2780)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz authored and Wkasel committed Apr 30, 2020
1 parent 54dc32a commit 60a833e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/fields/src/types/File/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ title: File

Support files hosted in a range of different contexts, e.g. in the local filesystem, or on a cloud based file server.

> **Important:** As of this writing (April 2020), an upstream [issue](https://github.com/apollographql/apollo-server/issues/3508) with `apollo-server`'s dependencies can cause a server crash when using this field (regardless of adapter) with **Node 13 only**. To work around this, use Node 12 or below _or_ add the following to your `package.json`:
>
> ```js title=package.json
> "resolutions": {
> "graphql-upload": "^10.0.0"
> }
> ```
>
> You can track this issue [here](https://github.com/keystonejs/keystone/issues/2101).
## Usage
```js
Expand Down

0 comments on commit 60a833e

Please sign in to comment.