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

Build error: Gatsby 3 and Gatsby-material-ui v3 error in lazy result. #67

Open
mariovde opened this issue Apr 5, 2021 · 0 comments
Open

Comments

@mariovde
Copy link

mariovde commented Apr 5, 2021

Hi

Just updated to gatsby 3 and upgraded gatsby material ui to v3.
When running the build, I get this error:

gatsby-plugin-material-ui/node_modules/autoprefixer/node_modules/postcss/lib/
lazy-result.js: Property name expected type of string but got null

gatsby-config.js:
...

// Material ui
        // Material UI injection
        {
            resolve: "gatsby-plugin-material-ui",
            options: {
                stylesProvider: {
                    injectFirst: true,
                },
            },
        },
...

already tried this (found at other issue)

cd node_modules/gatsby-plugin-material-ui
yarn install --frozen-lockfile
yarn run build

but didn't work

any ideas or can I provide you with more information?

@mariovde mariovde changed the title Gatsby 3 and Gatsby-material-ui v3 error in lazy result. Build error: Gatsby 3 and Gatsby-material-ui v3 error in lazy result. Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant