Adonis Ace incompatible with monorepo setup

Hi, I use Vue mono repo for a project. I’ve setup adonis but when I try to run ace commands, it fails. Apparently it look for ace in the relative node_modules folder (which is empty) instead of the top-root node_modules. Can anyone help me solve this issue? Thanks

1 Like

I solved this issue by specifying the modulesRoot in the ace file. Looking at @adonisjs/ignitor/src/Ignitor/index.js I found out that it was possible to define the modulesRoot.

2 Likes