You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountered an error while trying to install package on project. The error prompted was the following one:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: project@undefined
npm ERR! Found: @contentful/[email protected]
npm ERR! node_modules/@contentful/rich-text-types
npm ERR! @contentful/rich-text-types@"^16.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @contentful/rich-text-types@"^15.14.1" from [email protected]
npm ERR! node_modules/contentful-rich-text-vue-renderer
npm ERR! contentful-rich-text-vue-renderer@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Downgrading @contentful/rich-text-types to @^15 allowed me to install the package.
After having a look to the changelog of the different rich-text related packages, it seems that the upgrade between 15 and 16 is only a version bump. Would you consider updating the dependencies on this package ?
I closed the issue as it had no response in the first 6 months so i figured it must have been a cache issue on my package manager or whatnot but you are right the error is still present.
Issue
Encountered an error while trying to install package on project. The error prompted was the following one:
Downgrading
@contentful/rich-text-types
to@^15
allowed me to install the package.After having a look to the changelog of the different rich-text related packages, it seems that the upgrade between 15 and 16 is only a version bump. Would you consider updating the dependencies on this package ?
Project Package.json
Config
Darwin 22.6.0
node v18.18.0
npm v9.8.1
PS
Thanks for the package ✌️
The text was updated successfully, but these errors were encountered: