question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unmet peer dependencies

See original GitHub issue

What package has an issue

@mantine/core

Describe the bug

It’s actually @mantine/next but I can’t choose that in the dropdown.

pnpm add @mantine/next gives the following error; image

This looks to be due to the fact that @mantine/ssr is locked to html-react-parser@1.3.0 https://github.com/mantinedev/mantine/blob/master/src/mantine-ssr/package.json#L41

The latest version of html-react-parser supports react 18 https://github.com/remarkablemark/html-react-parser/blob/master/package.json#L79

In which browser did the problem occur

N/A

If possible, please include a link to a codesandbox with the reproduced problem

No response

Do you know how to fix the issue

Yes

Are you willing to participate in fixing this issue and create a pull request with the fix

Yes

Possible fix

I think it’s just a matter of upgrading the dependency in @mantine/ssr? It’s only a patch release so there shouldn’t be any breaking changes (checked the release notes, couldn’t see any).

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
savagercommented, May 13, 2022

Wow, passive aggressive much. I did not see that or I wouldn’t have commented. Enjoy being rude.

Sent from my iPhone

On May 12, 2022, at 6:52 PM, Trent Jones @.***> wrote:

Yeah, annoying, but fixed with “pnpm install --strict-peer-dependencies false”

As you can see above, I’ve submitted and merged a PR that fixes it properly. Thanks for the redundant suggestion though.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

1reaction
FizzBuzz791commented, May 12, 2022

Yeah, annoying, but fixed with “pnpm install --strict-peer-dependencies false”

As you can see above, I’ve submitted and merged a PR that fixes it properly. Thanks for the redundant suggestion though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I fix the npm UNMET PEER DEPENDENCY warning?
UNMET PEER DEPENDENCY error is thrown when the dependencies of one or more modules specified in the package.json file is not met.
Read more >
Error npm UNMET PEER DEPENDENCY warning - Edureka
UNMET PEER DEPENDENCY error is thrown when the dependencies of one or more modules specified in the package.json file is not met.
Read more >
ERR_PNPM_PEER_DEP_ISSU...
ERR_PNPM_PEER_DEP_ISSUES Unmet peer dependencies and The command '/bin/sh -c pnpm install' ... Peer dependencies that should be installed:
Read more >
Addressing the shortcomings of peer dependencies - HackMD
When the app host does not come up with a resolution that satisfies all peer dependency requirements, we get the classic “unmet peer...
Read more >
check-peer-dependencies | Yarn - Package Manager
Checks peer dependencies of the current NodeJS package. Offers solutions for any that are unmet. This utility will recursively find all peerDependencies in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found