Migration of Strapi 4 plugins to Strapi 5

Hello Community,

First of all, I deleted all yarn references, because yarn in the new version is really a mess (for me). I installed all clean. Node and NPM.
After the step 4 from above, I found out, that in Version 5 of Strapi, every plugin has to be compiled separatеly. I do not know, why yarn dlx yalc add --link my-strapi-plugin && yarn install did and do not work. The errormessage is absolutly nonsense (in my eyes).
But now, with npm only every things works. The problem with the compiling process can be solved with a modification in package.json. Here we go:

"scripts": {
    "develop": "npm-run-all build-plugins --parallel watch-plugins strapi-develop",
    "strapi-develop": "strapi develop",
    "build-plugins": "npm run build-sqljob",
    "watch-plugins": "nodemon --watch src/plugins -e js,jsx,json --ignore src/plugins/**/dist --ignore src/plugins/**/build --exec \"npm run build-plugins\"",
    "build-sqljob": "cd src/plugins/sqljob && npm run build",
    "start": "strapi start",
    "build": "strapi build",
    "strapi": "strapi"
  },

Important! You have to install npm install npm-run-all --save-dev. For now, every time, when source code in plugins is changing, the plugin will be compiled again and strapi starts with npm run develop automaticly.

Maybe somebody has an another idea, your welcome. I am interested in using the link option of yalc, but I do not know, why I get this strange error message. The process is now working and I am interested in suggestions to do it better.

regards,
Sven