1

I want to deploy a CAP project to BTP Cloud Foundry with cf deploy. However, I get the error:

"deploy" is not a registered command. See "cf help -a".

So I installed the Multiapps plugin in order to solve the problem. https://github.com/cloudfoundry/multiapps-cli-plugin/blob/master/README.md

Now I get this error, when I run "cf install-plugin multiapps -f":

dial tcp 127.0.0.1:55463: socket: An invalid argument was supplied.
exit status 1
File is not a valid cf CLI plugin binary.

What can I do?

Boghyon Hoffmann
  • 17,103
  • 12
  • 72
  • 170

1 Answers1

2

You have to set the Environment-Variable CF_PLUGIN_HOME to C:\ on your system. Then it should work.

Kind Regards, Georg

Georg Edlbauer
  • 205
  • 2
  • 12
  • Hi Georg, I also stuck at the very same place as Sebastian (I am using Mac M2). I would also like to update the CF_PLUGIN_HOME, as you have suggested. However, as far as I see, the required .cf/plugins folder is already -successfully- generated under the path of ~/Users//. So do you think still I need to update this variable, or my problem could be something else?? Thanks in advance, Merve – Merve Gül Dec 21 '22 at 17:55
  • 1
    Hi Merve, unfortunately I have no experience with this topic on Macs, especially not on M1/M2 based ones. I am sorry but i cannot help you with that. – Georg Edlbauer Dec 23 '22 at 06:55
  • Hi Georg, thanks for the comment anyway. I have raised a github issue to the team, looking forward to hear from them. – Merve Gül Dec 23 '22 at 16:22
  • Mac M2 multiapps plugin installation issue is resolved after installing xcode-select (command: xcode-select --install). Sharing as a reference. – Merve Gül Dec 26 '22 at 15:40