System Information
- 5.9.0:
- Mac OS X 15.1.1 (24B91):
- MySql 8.0:
- v20.18.2:
- 10.8.2:
- 4.6.0:
Hello Community,
After hours of trying I gave up and hope this forum can help. I want to upgrade my strapi version 4 to 5. Therefore I had no problems to update to the last 4.25.20. Also my plugins are working. The catastrophy starts when I upgrade to 5.9.0. The process was successfully after many many hours. But now I stuck with the plugin-developing. Following the docs I create a new plugin with name sqljob. Now I want to copy my code from strapi version 4 directory to the new created directory but it seems that the yarn build command does not build my plugin.
Step by Step →
What I did was:
- I updated to the last strapi 4 version.
- Then I upgraded to version 5.
- I moved my old plugin under src/plugins into an another directory outside of strapi dir.
- Then I upgraded yarn, because the command yarn dlx @strapi/sdk-plugin init my-strapi-plugin did not succeeded. After hours of upgrading node, npm and yarn (see versions above) now it runs
- But the linking with ** ```
yarn dlx yalc add --link my-strapi-plugin && yarn install** fails with error: Could not find packagesqljob
in store (/Users/sven/.yalc/packages/sqljob), skipping. (btw yalc I installed previosly also) - yarn build seems to work but if I add some wrong codes or senseless words in my source files under src/plugin, yarn build does not complain, so I think, my plugin is not compiled and will not compiled. Why??? All errors and mistakes and … only after the upgrade of my strapi to version 5.
The documents are not very helpfully. Who has experiences with the plugin development under version 5 and could be so kind to give me a bit more details, helping me with migration of my version 4-plugins for strapi 5.
Thank you very much!
Sven