Target did not produce any files, or the path is incorrect.
#74 opened on Sep 12, 2019
Repository metrics
- Stars
- (79 stars)
- PR merge metrics
- (PR metrics pending)
Description
Describe the bug
I have configured my azure.json file with the correct values according to the AzureJSON interface (using the ng add @azure/ng-deploy command). When I try to run ng run <project-name>:deploy I get told that my path is empty (which it isn't). It then runs my build command and once again complains that my path is empty (which it isn't).
I also noticed that getFiles ignores directories https://github.com/Azure/ng-deploy-azure/blob/master/src/builders/actions/deploy.ts#L121. I have an assets folder in my build directory that should be included in the deployment.
My Angular application has multiple projects (app + libraries), if that bears any relevance.
To Reproduce Steps to reproduce the behavior:
- Create an angular app with projects.
- Try to deploy a project.
Expected behavior
ng run <project-name>:deploy should deploy my project compiled in the directory specified in azure.json.hosting[0].app.path.
Screenshots
Desktop (please complete the following information):
- OS: OSX 10.14.6
- Browser n/a
- Version n/a