Closed Mueslint closed 6 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/158360221
The labels on this github issue will be updated when the story is started.
Solved by simply deleting node_modules/ before pushing.
Maybe you can change or add a new warning, as "invalid zip archive" gives no clues on the real issue if you're not at ease with cloudfoundry pushing process
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/158366046
The labels on this github issue will be updated when the story is started.
I had same issue pushing a python app. Since I did not know what are node_modules/
it took me some time to understand I need to remove the venv
directory. After doing this, I had to delete the app from IBM Cloud and push again. The Pivotal Tracker issue do not give any details. I think the push should handle the existence of a local venv directory, otherwise it makes things very hard for developers.
i have the same issue pushing a Java Liberty App 21.08 MiB / 21.08 MiB 100.00%The app is invalid: Invalid application source code found FAILED
Finished: FAILED
I got an error while pushing myapp on IBM Cloud for the first time, it is redundant when updating
It's a basic express server that serves a Vuejs dashboard. I had no problem deploying a plain node.js server the same way. I have a doubt on the size of the archive as it may contain node_modules/ inside which can be a reason to the excessive weight.
Command
ibmcloud app push myapp
NB:
ibmcloud app
equalscf
What occurred
What you expected to occur
That it is correctly deployed like my previous server
CLI Version
cf version 6.37.0+a40009753.2018-05-25
CC API Endpoint Version
api endpoint: https://api.ng.bluemix.net api version: 2.92.0
CF Trace
Platform & Shell Details
Mac OS X 10.13
Any other relevant information