Yoopta-Editor icon indicating copy to clipboard operation
Yoopta-Editor copied to clipboard

[BUG] Error solving dependency on install with Nextjs

Open Gyom03 opened this issue 1 year ago • 1 comments

  • [X] I have checked "open" AND "closed" issues and this is not a duplicate

Description

npm i @yoopta/editor @yoopta/paragraph slate slate-react


npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/slate
npm WARN   slate@"*" from the root project
npm WARN   2 more (@yoopta/editor, slate-react)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer slate@"^0.102.0" from @yoopta/[email protected]
npm WARN node_modules/@yoopta/editor
npm WARN   @yoopta/editor@"*" from the root project
npm WARN   1 more (@yoopta/paragraph)
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/slate
npm WARN   slate@"*" from the root project
npm WARN   2 more (@yoopta/editor, slate-react)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer slate@"^0.102.0" from @yoopta/[email protected]
npm WARN node_modules/@yoopta/editor
npm WARN   @yoopta/editor@"*" from the root project
npm WARN   1 more (@yoopta/paragraph)
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/slate-react
npm WARN   slate-react@"*" from the root project
npm WARN   1 more (@yoopta/editor)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer slate-react@"^0.102.0" from @yoopta/[email protected]
npm WARN node_modules/@yoopta/editor
npm WARN   @yoopta/editor@"*" from the root project
npm WARN   1 more (@yoopta/paragraph)
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/slate-react
npm WARN   slate-react@"*" from the root project
npm WARN   1 more (@yoopta/editor)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer slate-react@"^0.102.0" from @yoopta/[email protected]
npm WARN node_modules/@yoopta/editor
npm WARN   @yoopta/editor@"*" from the root project
npm WARN   1 more (@yoopta/paragraph)

added 30 packages, and audited 539 packages in 3s

159 packages are looking for funding run npm fund for details

found 0 vulnerabilities

Steps to Reproduce

Create a next.js projet - npx create-next-app

Install yoopta/editor + dependency - npm i @yoopta/editor @yoopta/paragraph slate slate-react

Environment

  • npm : v10.2.3
  • OS : Windows 11
  • Nodejs : v20.9.0

Screenshots

No response

Do you want to work on this issue?

No

If "yes" to above, please explain how you would technically implement this

No response

Gyom03 avatar Sep 29 '24 11:09 Gyom03

Is this error still appearing? @Gyom03

Darginec05 avatar Apr 20 '25 13:04 Darginec05