Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gatsby-source-contentful fails with "EMFILE: too many open files" on Vercel #23463

Closed
xmflsct opened this issue Apr 24, 2020 · 1 comment
Closed
Labels
type: bug An issue or pull request relating to a bug in Gatsby

Comments

@xmflsct
Copy link

xmflsct commented Apr 24, 2020

Description

Related to #12011, but with Contentful. It was fine until I add more content on Contentful.

contentTypes fetched 15
Updated entries  1594
Updated assets  2562

Tried graceful-fs and fs-extra with no luck.

Note, the reason of using lower version of gatsby-source-contentful is related to #22792.

Steps to reproduce

Deploy using Vercel.

Expected result

Build successful.

Actual result

Too many files opened.

Environment

  Binaries:
    Node: 12.16.2 - /usr/local/opt/node@12/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - /usr/local/opt/node@12/bin/npm
  npmPackages:
    gatsby: ^2.20.31 => 2.20.31 
    gatsby-image: ^2.3.5 => 2.3.5 
    gatsby-plugin-layout: ^1.2.4 => 1.2.4 
    gatsby-plugin-lodash: ^3.2.4 => 3.2.4 
    gatsby-plugin-preact: ^3.2.4 => 3.2.4 
    gatsby-plugin-prefetch-google-fonts: ^1.4.3 => 1.4.3 
    gatsby-plugin-react-helmet: ^3.2.5 => 3.2.5 
    gatsby-plugin-sass: ^2.2.4 => 2.2.4 
    gatsby-plugin-sharp: ^2.5.7 => 2.5.7 
    gatsby-source-contentful: ~2.1.88 => 2.1.100 
    gatsby-source-filesystem: ^2.2.5 => 2.2.5 
    gatsby-transformer-sharp: ^2.4.7 => 2.4.7 
  npmGlobalPackages:
    gatsby-cli: 2.11.17
@xmflsct xmflsct added the type: bug An issue or pull request relating to a bug in Gatsby label Apr 24, 2020
@xmflsct
Copy link
Author

xmflsct commented Apr 25, 2020

#12011 (comment) method works for me!

@xmflsct xmflsct closed this as completed Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

1 participant