Message "Error deploying cloud App to selected deployment target!" is shown when try to deploy a service in an environment

Solution Verified - Updated -

Issue

  • Message "Error deploying cloud App to selected deployment target!" is shown when try to deploy a service in an environment

The following error is found in the deploy console

Failed to deploy app due to error undefined
Error deploying cloud App to selected deployment target! 

The following error is found in the Logs tab.

uncaughtException: [TypeError: Cannot read property 'indexOf' of undefined]
Internal error: [TypeError: Cannot read property 'indexOf' of undefined]
TypeError: Cannot read property 'indexOf' of undefined
  at exports.parse (/home/fh/.fh-npm-node4/mongodb/1.4.40/lib/mongodb/connection/url_parser.js:14:9)
  at Function.MongoClient.connect (/home/fh/.fh-npm-node4/mongodb/1.4.40/lib/mongodb/mongo_client.js:164:16)

Environment

  • Red Hat Mobile Application Platform ( RHMAP ) - 3.16

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content