Migration module path in subdirectory



My module are all put in subdirectories as the path like:

When I tried to use following script migrate it from web to tns modules:"

ng g migrate-module --name=main

It gave me error:

“Couldn’t find the module at: src\app\main\main.module.ts”

I changed --name parameter to views/main, it failed again:

Couldn’t find the module at: src\app\views\main\views\main.module.ts

How can I fix it?