strapi-community/strapi-plugin-publisher

Plugin doesn't work with 4.8.0+

asans opened this issue · 8 comments

asans commented

Looks like it's having peer dependency version conflicts with newer Strapi versions that use react-intl 6+ where the plugin only states ^5+.

Due to this, npm install errors out and requires --force to install.

I tested the plugin with 4.8.2 and it does appear to work fine without any problems.

+1 running into the same issue

asans commented

The temporary workaround is to add an override in the package.json:

  "overrides": {
    "strapi-plugin-publisher": {
      "react-intl": "^6.0.0"
    }
  },

Still, it's not the right fix for this situation.

Sorry, been sick for the last week or so. I will try and get a new version published tonight with a fix for this.

Feel better! And thank you as always :)

asans commented

Looks like typescript dependency also should be updated to allow 5.x

Looks like typescript dependency also should be updated to allow 5.x

Typescript? This plugin does not have a dependency on typescript.

asans commented

My bad. The new react-intl 6.x is the one that has that dependency. So when upgrading and using react-intl 6 and typescript 5, we get this error. So it's technically react-intl, not this plugin.

This should be fixed in the latest release