1

I am having an error when I try pushing my app to cloud foundry. The manifest.yml file is the right format and also referenced it with that given as an example on the ibm forum but I get this error which doesn't add up in my opinion. What am I doing wrong here? Anybody to help out please?

Error

yaml: unmarshal errors: line 2: cannot unmarshal !!str https:/... into []string

error seen

Arvind Maurya
  • 910
  • 12
  • 25
Kas Barlow
  • 101
  • 2
  • 7
  • Add details like the manifest file, relevant source code, the command you used to push and the full error message, not just a section. Add it as text, not as picture. And remove any confidential stuff. – data_henrik Mar 25 '21 at 07:12
  • My bad, I forgot to include the yaml file. But the issue i have resolved. – Kas Barlow Mar 25 '21 at 07:25

1 Answers1

2

I finally got an answer for this from someone else Unable to deploy to SAP Cloud foundry

My error was because I was writing buildpacks and giving it a value of a string url instead of an array. Once I enclosed it inside an array, it worked fine. This is because IBM cloudfoundry recently changed from using buildpack to buildpacks which meant using an array instead of a single url string.

Kas Barlow
  • 101
  • 2
  • 7