Open rahuldeepattri opened 4 years ago
Hi @rahuldeepattri , Thanks for reporting an issue.
The problem you are facing probably related to #14 and was fixed in v.1.3.0.
Another reason may be that you are attempting to push multiple applications with the same name and version. In this case HTML5 CLI plugin will zip those applications to the same archive and during deletion will try to delete it twice. This may happen, for example, if you have same xs-app.json
and manifest.json
files in webapp
and dist
directories of the same HTML5 module and running cf html5-push
from directory containing both of them without specifying path. In this case plugin will try to "guess" which folders are application folders and will treat webapp
and dist
as two separate application folders and therefore will try to deploy both of them as separate applications...
What I propose you to do is the following:
C:\Users\XX\AppData\Local\Temp\XX-1.0.0.zip
and delete it if exists.cf html5-push <full_path_to_directory_that_contains_manifest.json>
. If it's not the first time you deploy this application, you can also use -r
flag to redeploy application using the same app-host
service instance.
Description
Cannot redeploy apps to repo, cli was working fine a day ago.
Environment
CLI Output
Redeploying HTML5 applications in org XX/ space poc as XX... FAILED Could not delete zip file 'C:\Users\XX\AppData\Local\Temp\XX-1.0.0.zip' : remove C:\Users\XX\AppData\Local\Temp\XX-1.0.0.zip: The system cannot find the file specified.