Strapi: Plugins version matching with Strapi version

Created on 24 Sep 2018  路  1Comment  路  Source: strapi/strapi




Informations

  • Node.js version: 9.11.1
  • npm version: 5.6.0
  • Strapi version: Any older version
  • Database: not relevant
  • Operating system: not relevant

What is the current behavior?
If you have strapi installed with an older version and try to init a new project. The root Project and the admin Panel would have the same version as the globally installed strapi but all the plugins are installed with the newest available version. This makes the system not working properly and leads to crashes.

Steps to reproduce the problem

  • Install an older version of Strapi
  • Init a new Project with it
  • You will see that the plugins using newest version and in the admin panel you will notice that you cannot add for example a new type properly and so on.

What is the expected behavior?
Strapi should use the version of root project for all strapi related dependencies to avoid this problems.

Suggested solutions
Strapi should use the version of root project for all strapi related dependencies

high confirmed bug

Most helpful comment

Good catch! I think we could increase the priority of this feature (cc @lauriejim)?

>All comments

Good catch! I think we could increase the priority of this feature (cc @lauriejim)?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wes-cutting picture wes-cutting  路  3Comments

doublemarked picture doublemarked  路  3Comments

chaitanyya picture chaitanyya  路  3Comments

shash7 picture shash7  路  3Comments

OrestTs picture OrestTs  路  3Comments