Hi Ekansh,
I think I found the cause of this issue .
solution:
1. go to the folder which the HAD is installed in.
2. bakeup deployapp.js , then open the deployapp.js file
3. go to line 762
4. search "shelljs.exec('cordova ' + getCordovaDebugModeByProjectJson(app) + ' create ' + cordovaFolder + ' ' + app.hybrid.appid + ' "' + app.hybrid.appname + '" --copy-from ./' + config.sourceDir);"
5. replace the above line with
shelljs.exec('cordova ' + getCordovaDebugModeByProjectJson(app) + ' create "' + cordovaFolder + '" ' + app.hybrid.appid + ' "' + app.hybrid.appname + '" --copy-from ./' + config.sourceDir);
6. save deployapp.js
7. try deploy to HAT again
Regards
Yutao