Azure/ng-deploy-azure

Target did not produce any files, or the path is incorrect.

Open

#74 aperta il 12 set 2019

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)TypeScript (43 fork)github user discovery
bughelp wanted

Metriche repository

Star
 (79 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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:

  1. Create an angular app with projects.
  2. 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

Guida contributor