My project uses yarn workspaces and promptfoo is declared in the package.json file. Installing the package works fine, but when initiaiting promptfoo we get this error:
Error: promptfoo tried to access @inquirer/editor, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
if I manually install all the inquirer packages things work again, but this can't be merged in my codebase if engineers need to do this manually, is there a workaround?
Context: we use promptfoo version 0.72 and install it via yarn, any version above it starts using inquirer and the issue happens.