Skip to content

[v4] Adonis commands never exit #3443

Answered by e-e
e-e asked this question in Help
Discussion options

You must be logged in to vote

Found out this was due to initializing Redis in one of my providers. My solution was to update the ace file in the project root to set process.env.IS_ACE = "true", and initialize a mock instance of Redis (via redis-mock), so that no connection to redis is actually made for ace commands. This is maybe not an ideal solution, but I'm not currently using Redis in any of my commands, so for now this works.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by e-e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant