Closed ghiscoding closed 2 years ago
Hey, thanks a lot for warning about this!
Since this project is using pnpm, I prefer to use pnpm built-in command for running scripts.
And yea, I'm going to start adopting lerna-lite for the rest of my monorepos!
Thanks for taking care about lerna community.
Prerequisites
package.json
.Subject of the issue
I'm not using your project but I saw you're using the fork of Lerna-Lite that I created and I also saw that your unit test task is failing because you're trying to use
exec
from Lerna-Lite but that doesn't exist because I did not add that command (I only have 3 out of 15 commands from the original Lerna). So I thought I'd just give you a hint on how to fix your CI, just replace theexec
with therun
command, however this command exist but is optional so you need to also add the extra package for it@lerna-lite/run
Steps to reproduce
Everytime your CI runs with the new Lerna-Lite, you get this new error thrown
Expected behaviour
no error
Actual behaviour
error thrown
Potential Fixes
I don't know what
c8
is but I assume that modifying yourpackage.json
and add/modify these 2 lines would fix your CI (also as pointed out on top,@lerna-lite/run
is optional and must be installed separately)... and thanks for trying out the new Lerna-Lite fork đŸ˜‰ Cheers