Lucid: ace make:model generates a whole build directory

Created on 9 Mar 2020  路  3Comments  路  Source: adonisjs/lucid

Package version

7.6.2

Node.js and npm version

Node: v12.16.1
NPM: 6.13.4

Sample Code (to reproduce the issue)

In fresh app with lucid 7.6.2 installed run: npm ace make:model Test

It ends up generating a build directory with a full app structure, including the newly generated model rather than putting the model in app/Models.

Bug

Most helpful comment

Figured it would probably be known, but I just ran into it myself and didn't see an issue for it so I figured I'd add one. Great work on Adonis 5 btw. Looks awesome.

All 3 comments

Yup, a known bug. We are working on the fix

Figured it would probably be known, but I just ran into it myself and didn't see an issue for it so I figured I'd add one. Great work on Adonis 5 btw. Looks awesome.

Was this page helpful?
0 / 5 - 0 ratings