gatsby-theme-material-ui icon indicating copy to clipboard operation
gatsby-theme-material-ui copied to clipboard

Upgrade peer-deps to include gatsby 5.x

Open NicolasdRa opened this issue 2 years ago • 2 comments

image

NicolasdRa avatar Jan 20 '23 14:01 NicolasdRa

❯ yarn start
yarn run v1.22.19
$ gatsby develop
success compile gatsby files - 0.603s
success load gatsby config - 0.017s
warn Plugin gatsby-theme-material-ui-top-layout is not compatible with your gatsby version 5.8.0 - It requires gatsby@^3.0.0 || ^4.0.0
warn Plugin gatsby-plugin-material-ui is not compatible with your gatsby version 5.8.0 - It requires gatsby@^3.0.0 || ^4.0.0
warn Plugin gatsby-theme-material-ui is not compatible with your gatsby version 5.8.0 - It requires gatsby@^3.0.0 || ^4.0.0
warn Plugin gatsby-theme-material-ui-top-layout is not compatible with your gatsby version 5.8.0 - It requires gatsby@^3.0.0 || ^4.0.0
warn Plugin gatsby-plugin-material-ui is not compatible with your gatsby version 5.8.0 - It requires gatsby@^3.0.0 || ^4.0.0
warn Plugin gatsby-theme-material-ui is not compatible with your gatsby version 5.8.0 - It requires gatsby@^3.0.0 || ^4.0.0
success load plugins - 0.161s
success onPreInit - 0.003s

Any plans to update peerDependencies.gatsby for these to include current Gatsby?

eg: https://github.com/hupe1980/gatsby-theme-material-ui/blob/master/packages/gatsby-theme-material-ui/package.json#L30

skoch avatar Mar 28 '23 13:03 skoch

For anyone who needs a workaround, I currently use:

npm install --legacy-peer-deps

It would be great if the peer dependencies could be updated to support gatsby 5.x. I have been using this library with gatsby 5.12.4 using the --legacy-peer-deps workaround and I have not run into any major issues.

codytodonnell avatar Mar 26 '24 21:03 codytodonnell