Reputation: 1
Getting error -- when run from CLI -- cf push
yaml: unmarshal errors:
line 2: cannot unmarshal !!str https:/...
into []string
my manifest.yml file
applications:
- name: test
instances: 1
memory: 256M
disk_quota: 1024M
path: ./web
buildpacks: https://github.com/cloudfoundry/nodejs-buildpack
services:
- node-uaa
Upvotes: 0
Views: 1442
Reputation: 5145
The buildpacks
entry in manifest.yml
expects an array of strings. The error message is saying that it can't unmarshall the provided string value to the expected array of strings type.
Either change the entry to the singular:
buildpack: https://github.com/cloudfoundry/nodejs-buildpack
or wrap the value in an array:
buildpacks: [ https://github.com/cloudfoundry/nodejs-buildpack ]
Upvotes: 3