gatsbyjs / gatsby

The best React-based framework with performance, scalability and security built in.
https://www.gatsbyjs.com
MIT License
55.27k stars 10.31k forks source link

Error building gastby project with versions 2.23.5 and 2.23.6 #25148

Closed juanda99 closed 4 years ago

juanda99 commented 4 years ago

Description

My project can't build with last 2 gatsby versions (2.23.5, 2.23.6). It was working fine with 2.23.4. Can't be of pretty much help as it's my first gatsby project.

Steps to reproduce

git clone https://github.com/juanda99/web-aeducar.git
cd web-aeducar
gatsby build

Expected result

Build.

Actual result

gatsby build error:

  {
    node: {
      id: 'b1efc1a8-4107-57c1-a6a1-01e7681164a9',
      excerpt: 'Para que el alumnado y el profesorado de nuestro centro puedan trabajar con Aeducar, necesitarán tener una cuenta con la que acceder a la plataforma. En cada centro, la persona que realice las tareas de gestión de Aeducar será la encargada de la…',
      frontmatter: [Object]
    }
  }
] *******************************************************
/home/juanda/web-aeducar/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
        throw ex;
        ^

Error: write EPIPE

Environment

juanda@juanda-XPS-8500:~/web-aeducar$ gatsby info --clipboard

  System:
    OS: Linux 5.3 Ubuntu 18.04.3 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
    Shell: 5.4.2 - /usr/bin/zsh
  Binaries:
    Node: 12.16.2 - ~/.nvm/versions/node/v12.16.2/bin/node
    npm: 6.14.4 - ~/.nvm/versions/node/v12.16.2/bin/npm
  Languages:
    Python: 2.7.17 - /usr/bin/python
  Browsers:
    Chrome: 76.0.3809.100
    Firefox: 77.0.1
  npmPackages:
    gatsby: 2.23.5 => 2.23.5
    gatsby-image: ^2.4.6 => 2.4.6
    gatsby-plugin-feed-mdx: ^1.0.1 => 1.0.1
    gatsby-plugin-material-ui: latest => 2.1.9
    gatsby-plugin-mdx: ^1.2.15 => 1.2.15
    gatsby-plugin-netlify-cms: ^4.3.5 => 4.3.5
    gatsby-plugin-react-helmet: latest => 3.3.4
    gatsby-plugin-react-leaflet: ^2.0.13 => 2.0.13
    gatsby-plugin-sharp: ^2.6.10 => 2.6.10
    gatsby-plugin-styled-components: ^3.3.4 => 3.3.4
    gatsby-remark-copy-linked-files: ^2.3.5 => 2.3.5
    gatsby-remark-images: ^3.3.10 => 3.3.10
    gatsby-remark-prismjs: ^3.5.4 => 3.5.4
    gatsby-remark-responsive-iframe: ^2.4.5 => 2.4.5
    gatsby-remark-smartypants: ^2.3.4 => 2.3.4
    gatsby-source-filesystem: ^2.3.10 => 2.3.10
    gatsby-transformer-json: ^2.4.4 => 2.4.4
    gatsby-transformer-remark: ^2.8.15 => 2.8.15
    gatsby-transformer-sharp: ^2.5.4 => 2.5.4
  npmGlobalPackages:
    gatsby: 2.23.4
pieh commented 4 years ago

Can you try upgrading to gatsby@2.23.7? We had regression in .5 and .6 related to console.log (and other console methods) in frontend code causing build errors

juanda99 commented 4 years ago

Working as expected when upgrading to 2.23.7. Thank you!