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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.