Skip to content

Can't build the project on Heroku #3861

Discussion options

You must be logged in to vote

I found the issue, When I set up the authentication and run this command:
node ace configure @adonisjs/auth
it asked me to enter the model name and I entered user, not User so it created the model called user, and later I thought it was an issue so I renamed it to User but the git didn't notice the case-sensitive change so on my local is User but on GitHub is user

I fixed it by renaming it to the correct one User

I think when setup the auth it should be following the naming convention even if the user entered it with a small case, something like when creating a new model using this command line:
node ace make:model user => It will create a new model called User not user

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@3adel-bassiony
Comment options

Comment options

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