noahg / gatsby-starter-blog-no-styles

Copy of gatsby-starter-blog sanitized of styling decisions
46 stars 7 forks source link

Build fails with Gatsby 2 #4

Open nielmond opened 6 years ago

nielmond commented 6 years ago

Using gatsby 2.4.1. Running gatsby build fails with:

BrowserslistError: Unknown browser query `dead`
- index.js:37 error
    [gatsby-no-style]/[browserslist]/index.js:37:11

  - index.js:222
    [gatsby-no-style]/[browserslist]/index.js:222:9

  - Array.forEach

  - index.js:196 browserslist
    [gatsby-no-style]/[browserslist]/index.js:196:13

  - index.js:65 isSupported
    [gatsby-no-style]/[caniuse-api]/dist/index.js:65:37

  - index.js:69
    [gatsby-no-style]/[postcss-cssnext]/lib/index.js:69:117

  - Array.forEach

  - index.js:56
    [gatsby-no-style]/[postcss-cssnext]/lib/index.js:56:35

  - postcss.js:150 creator
    [gatsby-no-style]/[postcss]/lib/postcss.js:150:35

  - webpack.config.js:180 module
    [gatsby-no-style]/[gatsby]/dist/utils/webpack.config.js:180:86

  - webpack.config.js:565 _callee$
    [gatsby-no-style]/[gatsby]/dist/utils/webpack.config.js:565:13

  - next_tick.js:131 _combinedTickCallback
    internal/process/next_tick.js:131:7

  - next_tick.js:180 process._tickCallback
    internal/process/next_tick.js:180:9

Based on the commit history, presumably this needs to be resynced with the gatsby-starter-blog to be compatible with the new version of Gatsby.

noahg commented 6 years ago

Yep you're correct. Feel free to PR. I'll try to find the time eventually.