Strapi couldn't start after upgrading

System Information
  • Strapi Version: 5
  • Operating System: windows 10
  • Database: sqllite
  • Node Version: 20
  • NPM Version: 10
  • Yarn Version:

I’m getting an error when trying to start dev mode after upgrading to v5 from v4. It says there’s a problem with the plugin called @strapi/email. I couldn’t find any details about that plugin from internet. What could be the problem?

Error: @strapi\email\package.json couldn't be resolved ││ at toDetailedDeclaration (C:\Users\asank\Documents\GitHub\jayk-strapi-cms\n ││ ode_modules\@strapi\core\dist\loaders\plugins\get-enabled-plugins.js:64:17) ││ at Module.getEnabledPlugins ││ (C:\Users\asank\Documents\GitHub\jayk-strapi-cms\node_modules\@strapi\core\ ││ dist\loaders\plugins\get-enabled-plugins.js:82:10) ││ at loadPlugins (C:\Users\asank\Documents\GitHub\jayk-strapi-cms\node_module ││ s\@strapi\core\dist\loaders\plugins\index.js:96:50) ││ at Module.loadApplicationContext (C:\Users\asank\Documents\GitHub\jayk-stra ││ pi-cms\node_modules\@strapi\core\dist\loaders\index.js:16:5) ││ at Object.register (C:\Users\asank\Documents\GitHub\jayk-strapi-cms\node_mo ││ dules\@strapi\core\dist\providers\registries.js:26:17) ││ at Strapi.register (C:\Users\asank\Documents\GitHub\jayk-strapi-cms\node_mo ││ dules\@strapi\core\dist\Strapi.js:322:32) ││ at Strapi.load (C:\Users\asank\Documents\GitHub\jayk-strapi-cms\node_module ││ s\@strapi\core\dist\Strapi.js:314:16) ││ at Module.develop (C:\Users\asank\Documents\GitHub\jayk-strapi-cms\node_mod ││ ules\@strapi\strapi\dist\node\develop.js:177:41) ││ at async action (C:\Users\asank\Documents\GitHub\jayk-strapi-cms\node_modul ││ es\@strapi\strapi\dist\cli\commands\develop.js:18:5) ││ at async Command.parseAsync (C:\Users\asank\Documents\GitHub\jayk-strapi-cm ││ s\node_modules\commander\lib\command.js:923:5)

I have the same issue

Same issue…

Anyways what I did was to solve the problem is reinstalling the latest version and replaced the src/api folder to preserve the schema. I don’t know if it is a good solution, but it works.