Hassam Ahmed
Hassam Ahmed

Reputation: 21

Any idea why adonis migration command not working?

Adonis command neither give error nor works

I just clone the Node project from one PC to another. Installed npm and adonis. Now my Node project is working when I open the URL at which it is serving it shows me the login page. When in try to execute the Migration command, cli is neither executing the command nor giving any error.

Upvotes: 0

Views: 1549

Answers (1)

crbast
crbast

Reputation: 2302

Try to reinstall @adonisjs/cli :

Uninstall (Globally):

> npm uninstall -g @adonisjs/cli

Install (Globally):

> npm i -g @adonisjs/cli

@adonisjs/cli must be installed globally (it's not a project dependency)

Installation - AdonisJS documentation

Upvotes: 1

Related Questions