-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Heyo..
I'm getting an error when running develop or build.
config:
const { plugins } = require('./postcss.config')
module.exports = {
siteMetadata: {
title: 'waffles'
},
plugins: [
'gatsby-plugin-react-helmet-async',
{
resolve: `gatsby-plugin-nprogress`,
options: {
color: `#345DEE`,
showSpinner: false
}
},
{
resolve: 'gatsby-plugin-postcss',
options: {
postCssPlugins: plugins
}
}
]
}browser:
export const wrapRootElement = ({ element, props }) => {
const store = init({
models,
plugins: [persistPlugin]
})
const persistor = getPersistor()
return (
<Provider store={store}>
<PersistGate loading="loading" persistor={persistor}>
<NavProvider>
<ThemeProvider>
<Layout {...props}>{element}</Layout>
</ThemeProvider>
</NavProvider>
</PersistGate>
</Provider>
)
}ssr
exports.wrapRootElement = ({ element, props }) => {
const store = init({
models
})
return (
<Provider store={store}>
<NavProvider>
<ThemeProvider>
<Layout {...props}>{element}</Layout>
</ThemeProvider>
</NavProvider>
</Provider>
)
}gatsby info:
System:
OS: macOS Mojave 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
Shell: 5.3 - /bin/zsh
Binaries:
Node: 13.1.0 - ~/.nvm/versions/node/v13.1.0/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.13.1 - ~/.nvm/versions/node/v13.1.0/bin/npm
Languages:
Python: 2.7.10 - /usr/bin/python
Browsers:
Chrome: 78.0.3904.108
Firefox: 70.0.1
Safari: 13.0.3
npmPackages:
gatsby: ^2.18.7 => 2.18.7
gatsby-plugin-manifest: ^2.2.31 => 2.2.31
gatsby-plugin-module-local-ident-name: ^0.0.7 => 0.0.7
gatsby-plugin-nprogress: ^2.1.7 => 2.1.15
gatsby-plugin-offline: ^3.0.27 => 3.0.27
gatsby-plugin-postcss: ^2.1.8 => 2.1.16
gatsby-plugin-react-helmet-async: ^1.0.13 => 1.0.13
Any thoughts?
cheers
adriancarriger
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
