Let’s say I develop a plugin acme-test. This plugin needs a yarn dependency on xyz.
- I
yarn add xyzinside of the plugin - Then start
yarn strapi-plugin watch:link
On the main project:
yarn dlx yalc add --link acme-test && yarn install
This does not add my plugin dependencies into the node_modules of the main project so I get module not found errors when booting up Strapi.
For now I am adding my dependencies on the strapi instance as well but that seems wrong. Not sure what I am missing …
What’s the correct way to handle this?
Thanks!
This topic has been created from a Discord post (1294271983219118112) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord