After creating a new version 4.1 Adonis project migrations do not work #1511
Unanswered
simonjcarr
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried out Adonis 5 last week. I installed it using
npm i -g @adonisjs/cli@next
I now need to create an Adonis v4.1 project. I uninstalled version 5 with
npm uninstall -g @adonisjs/cli@next
and for good measure, I also rannpm uninstall -g @adonisjs/cli
I reinstalled Adonis version 4 with
npm i @adonisjs/cli
I created a new project using
adonis new adonis_api --api-only
The first problem I noticed was that migrations were not working. After running
adonis migration:run
I got the following errorWhen I looked in
package.json
I noticed a mixture of Version 4 and version 5 dependenciesWhat should I do, to fully remove version 5?
Beta Was this translation helpful? Give feedback.
All reactions