Azure / ng-deploy-azure

Deploy Angular apps to Azure using the Angular CLI
MIT License
79 stars 37 forks source link

"Project target does not exist." on any command #85

Open joshcomley opened 4 years ago

joshcomley commented 4 years ago

Describe the bug I am using Angular 9 RC0, so this may not be supported (yet), but essentially I can't get any of this plugin to work without the title error message appearing. Even the azureLogout command fails.

To Reproduce Follow precisely the instructions on the readme for this plugin, but with Angular 9 up to and including step 4: Deploy your project to Azure.

The command fails with the following error:

An unhandled exception occurred: Project target does not exist.

Expected behavior No error.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

manekinekko commented 4 years ago

Thanks for reporting this issue. However, Angular v9 support is on its way. Please stay tuned.

hiepxanh commented 4 years ago

have issues "project target does not exists" I can fix it thanks to https://stackoverflow.com/a/60983433/5992468

There is a problem at your browserTarget in angular.json . The target must point to the project, not to Angular or other, so check your browserTarget and please provide your angular.json