Closed nolandg closed 4 years ago
The workaround is to force Yarn to unplug this module: https://yarnpkg.com/cli/unplug
by running yarn unplug gatsby-plugin-material-ui
before yarn build gatsby
The problem started to occur with the new version of node, I had to rollback to 13.13.0
Do we have a reproduction to investigate?
We have to switch to Gatsby's cache logic. I will create a PR
It seems this package tries to write to a
.cache
folder withinnode_modules
. Using Yarn 2 Plug'n'Play this doesn't work as that is a read-only virtual file system so the build fails. Can you do like most other modules and store your.cache
in the project directory instead? Or am I missing something?Thanks for the great plugin!
"gatsby-plugin-material-ui" threw an error while running the onPreBootstrap lifecycle: