Error : update strapi v4 to v5

Node.js version: v20.17.0
NPM version: 10.8.3
Strapi version: 4.25.11 to 5.0.0
Database: “mysql2”: “^3.11.1”,
Operating system: LocalHost windows
Is your project Javascript or Typescript: JS
The bug
Hi,
I managed to upgrade my strapi 4.25.10 to 4.25.11, however when I want to go from v4 to v5 I get this error after running npx @strapi/upgrade major as on the documentation

<:strapimono:1044611225188831252> screenshot on github : Error : update strapi v4 to v5 · Issue #21462 · strapi/strapi · GitHub

This topic has been created from a Discord post (1288479125660631131) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

try to clean the node_modules dir before running the migration script

don’t work :cry:

I have the same issue have you found a solution?