Thanks, it resolved. It turns out this cause:
"ionic cordova generate" command generate a "module.ts" file with .html/.ts/.scss file. My project is not using .module.ts file, removing it from project, project will build successfully.
↧
Error: Type X in *.ts is part of the declarations of 2 modules
↧