-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Bug]: Unmet peer dependency "@tiptap/core@^2.0.0" on "yarn"command from "@tiptap/pm", "@tiptap/react" and tiptap extensions #4100
Comments
Seems like the same issue I was facing: #3746 My workaround was adding a peerDependencies override in yarnrc |
The workaround mentioned above: # yarnrc.yml
packageExtensions:
# awaiting fix: https://github.com/ueberdosis/tiptap/issues/4100
'@tiptap/starter-kit@*':
dependencies:
'@tiptap/pm': '*' |
Thanks for workaround. This is content of my
I also tried with @Naddiseo, @lensbart guys, сan you tell me if I'm missing something or doing something wrong? |
@nk11dev there are more differences between your code and what works for me than just |
It seems like I switched to modern version of yarn (it's version
But, of cause, I think that these warnings should be fixed in "tiptap" package itself. |
It's important to mention that if you also use It will require some changes to your setup to rewrite your scripts and test if all is working as expected if you want to move to modern yarn. Therefore the fix in the "tiptap" package itself remains much more preferable. |
Or just use |
Thanks, I will take a look into modern yarn migration more closely. I mean, the adding of |
Any update on this? As this should be resolve in the tiptap itself. |
Which packages did you experience the bug in?
"@tiptap/pm": "2.0.3", "@tiptap/react": "2.0.3", "@tiptap/extension-list-item": "2.0.3", "@tiptap/extension-text-style": "2.0.3"
What Tiptap version are you using?
2.0.3
What’s the bug you are facing?
I am using TipTap with React and have these dependencies in package.json
As docs from https://tiptap.dev/installation/react said, there is no dependency from
@tiptap/core
if you are using TipTap with React.For
npm install
command, everything is ok.But, when I executing a
yarn
command for installing dependencies, then these warnings appear:What browser are you using?
Chrome
Code example
No response
What did you expect to happen?
There should be no warnings.
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: