IBM/watson-assistant-slots-intro

project missing .cfignore

timroster opened this issue · 0 comments

When using a flow of running local, and then pushing to IBM Cloud with ibmcloud app push or cf push, the application fails to stage with a message:

Uploading files...
 10.99 MiB / 10.99 MiB [==========================================================================] 100.00% 9s

Waiting for API to complete processing files...
Job (fc6901b4-ec39-4bfe-8c1b-4b715e66b91a) failed: The app upload is invalid: Invalid zip archive.

This can be avoided by adding a .cfignore file excluding the node_modules folder/directory.