Material-ui: UNMET PEER DEPENDENCY [email protected]

Created on 16 Oct 2017  ·  9Comments  ·  Source: mui-org/material-ui

I'm getting this error while updating to material [email protected] in React 16. And it also says 'UNMET PEER DEPENDENCY [email protected] || ^15.0.0' please check the attached screenshot.
screen shot 2017-10-16 at 11 29 07 pm
Uploading Screen Shot 2017-10-16 at 11.29.07 PM.png…

bug 🐛

Most helpful comment

I am getting this warning:
[email protected] requires a peer of jss@^9.0.0 but none was installed.
Is it related?

All 9 comments

Yes, I'm waiting on a react-jss release to upgrade jss internally. Unless @alitaheri wants to accept jss@8 in jss-rtl?

@oliviertassinari Might be better to wait. it's just a warning and we're in beta. But I can make a quick release if this becomes a headache 😁

@alitaheri Sounds good. @kof Let us know when you ship a new version of react-jss so we upgrade it here to :).

also a quick workaround could temporarily be:
rm -rf node_modules/jss* && npm install [email protected] [email protected]

Is there a current patch / suggested work around for fixing this dependency in the package.json file? I tried the work around and it didn’t seem to work. If there is a direction for the fix I can try and figure out a patch potentially?

I am getting this warning:
[email protected] requires a peer of jss@^9.0.0 but none was installed.
Is it related?

df
got unmet peer dependency error while using material-ui v.1.0.0-beta.20

@SyedHaris94 It's explained in the error message.
react-material-ui-form-validator requires beta.21 while you have beta.20 installed: https://github.com/NewOldMax/react-material-ui-form-validator/blob/e0afddd2686fed0dd3964b26e16d5c1a30da534e/package.json#L27.

@NewOldMax You might want to consider the option to be more permissive.

@oliviertassinari v1 support in my package still is beta and not recommended for production, people use it at one's own risk

Was this page helpful?
0 / 5 - 0 ratings

Related issues

newoga picture newoga  ·  3Comments

chris-hinds picture chris-hinds  ·  3Comments

pola88 picture pola88  ·  3Comments

rbozan picture rbozan  ·  3Comments

FranBran picture FranBran  ·  3Comments