-  
 -   Notifications  
You must be signed in to change notification settings  - Fork 20
 
Description
I am sending this issue here as this is where the node ace configure tests is invocated, and where the problem is located.
When creating a new Adonis application, Adonis will try to set up tests (no matter which project structure you have chosen), but tests are dependents of the adonis-preset-ts module, and Adonis will try to retrieve the tsconfig of this module by searching in the node_modules he has created in his folder. However, the problem with Turborepo is that it will usually install dependencies/modules in the root folder of the repo, like this:
my_turborepot/ ├─ apps/ │ ├─ adonis_app/ │ │ ├─ node_modules/ <-- Where Adonis think dependencies goes │ │ ├─ package.json │ ├─ my_other_app/ │ │ ├─ node_modules/ │ │ ├─ package.json ├─ node_modules/ <-- Where dependencies goes ├─ README.md As such, if you try to set up an Adonis application using create-adonis-ts-app, the following error is raised:
 
I have no real idea on how to support those, and this is why I'm just dropping an issue rather than a PR.
Package version
version: 5.6.2
Node.js and npm version
Node: v16.14.0 npm: v8.5.2 Yarn: 1.22.18
Sample Code (to reproduce the issue)
Not relevant
BONUS (a sample repo to reproduce the issue)
Not relevant