i read the basic documentation of new Adonis Js5, i make a new api serve and i compile the code with "node ace serve --watch" or "node ace build --watch" and always is the same "make:migration command not found" any idea for fix?
i read the basic documentation of new Adonis Js5, i make a new api serve and i compile the code with "node ace serve --watch" or "node ace build --watch" and always is the same "make:migration command not found" any idea for fix?
The @adonisjs/lucid dependency is missing (lucid provider)
According to the official documentation
The data layer of the framework is powered by Lucid and the package must be installed separately.
Official documentation : https://docs.adonisjs.com/guides/database/introduction
run (install dependence) :
> npm i @adonisjs/lucid
# or
> yarn add @adonisjs/lucid
and (setup lucid) :
> node ace configure @adonisjs/lucid
and build one time application (node ace build)
After Adonis 5 going live, the database documentation has new installation instructions in the Introduction section, with this configuration step:
node ace configure @adonisjs/lucid