Cloud Foundry Error – Failed to create default route from app name

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

Error:

$ cf push app/
Pushing app app/ to org sujeeth-org / space sujeeth-space as admin...
For application 'app/': Failed to create default route from app name: Host must be either "*" or contain only alphanumeric characters, "_", or "-"
FAILEDCode language: JavaScript (javascript)

Solution:

Go inside a directory and run a command

$ cd app/


$ cf push