Can't configure modules in new App

I’m trying to create a new custom app for taxes.

  • I already have my site in developer mode.
  • I created the app using ‘bench new-app’
  • I ran bench migrate.

But after I created my first module and added a Doctype to that module (through the site) Frappe throwed an error telling that tha module didn’t exist. I tried to ran bench migrate again and now I can’t acces my site because it is updating (status 503). The log shows that during the migration frappe thowed an exeption that my module didn’t exist.

I verified that the module folder exist an it is registered in module.txt.

Am I doing something out of order. If so how can I add modules to my App?

Any luck with this?