strapi-community / strapi-plugin-publisher

A plugin for Strapi Headless CMS that provides the ability provides the ability to easily schedule publishing and unpublishing of any content type.
https://market.strapi.io/plugins/strapi-plugin-publisher
MIT License
48 stars 17 forks source link

Installation failed with strapi version ^4.9.0 #70

Closed Ali-Dalal closed 1 year ago

Ali-Dalal commented 1 year ago

and this is the error stack trace

npm i
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: strapi-plugin-publisher@1.3.3
npm ERR! Found: react-intl@6.2.8
npm ERR! node_modules/react-intl
npm ERR!   react-intl@"6.2.8" from @strapi/helper-plugin@4.8.2
npm ERR!   node_modules/@strapi/helper-plugin
npm ERR!     peer @strapi/helper-plugin@"^4.5.6" from strapi-plugin-preview-button@1.1.2
npm ERR!     node_modules/strapi-plugin-preview-button
npm ERR!       strapi-plugin-preview-button@"^1.1.2" from the root project
npm ERR!     peer @strapi/helper-plugin@"^4.0.7" from strapi-plugin-publisher@1.3.3
npm ERR!     node_modules/strapi-plugin-publisher
npm ERR!       strapi-plugin-publisher@"^1.3.3" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react-intl@"^6.3.2" from strapi-plugin-publisher@1.3.3
npm ERR! node_modules/strapi-plugin-publisher
npm ERR!   strapi-plugin-publisher@"^1.3.3" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: react-intl@6.4.0
npm ERR! node_modules/react-intl
npm ERR!   peer react-intl@"^6.3.2" from strapi-plugin-publisher@1.3.3
npm ERR!   node_modules/strapi-plugin-publisher
npm ERR!     strapi-plugin-publisher@"^1.3.3" 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.
npm ERR!
ComfortablyCoding commented 1 year ago

This should be fixed in v1.3.4 (latest release)