Menu

React.createElement: type is invalid -- expected a string

React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

If you are seeing this error that means you are using any element that is either not imported or not getting resolved in your render.

Resolution 1

Check the elements that are being use and their import.

Resolution 2

Change the return statement and try to return without function sign. refere Stackoverflow | React.createElement: type is invalid -- expected a string


Hope this help you to resolve the error.

How to clean node or npm cache?

Using the command cache clean we could clear the node cache. 

npm cache clean --force

Best Hotels in New Delhi, India | India Travel Guide

New Delhi is capital city of India and one of the largest city of India. We have listed the some best, luxary and 5 stars rating hotels in New Delhi, India, along with their star rating, price per night, food options, location, and popular booking websites. You may choose and book your hotels in New Delhi using their direct website links.

1. The Taj Mahal Hotel

   - Star Rating: 5 stars

   - Price per Night: Starts from $200

   - Food: Offers a range of restaurants serving Indian and international cuisines.

   - Location: Mansingh Road, New Delhi.

   - Booking Website: www.tajhotels.com


2. The Leela Palace New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $250

   - Food: Provides multiple dining options including Indian, Italian, and Asian cuisine.

   - Location: Diplomatic Enclave, Chanakyapuri, New Delhi.

   - Booking Website: www.theleela.com


3. ITC Maurya, a Luxury Collection Hotel

   - Star Rating: 5 stars

   - Price per Night: Starts from $150

   - Food: Offers a variety of restaurants serving Indian, Chinese, and European cuisines.

   - Location: Diplomatic Enclave, Sardar Patel Marg, New Delhi.

   - Booking Website: www.marriott.com


4. The Oberoi, New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $300

   - Food: Features multiple dining options including Indian, Chinese, and international cuisines.

   - Location: Dr. Zakir Hussain Marg, New Delhi.

   - Booking Website: www.oberoihotels.com


5. The Imperial

   - Star Rating: 5 stars

   - Price per Night: Starts from $250

   - Food: Offers a range of dining options including Indian, Italian, and European cuisines.

   - Location: Janpath, Connaught Place, New Delhi.

   - Booking Website: www.theimperialindia.com


6. Hyatt Regency Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $120

   - Food: Provides multiple restaurants offering Indian, Chinese, and international cuisines.

   - Location: Bhikaji Cama Place, Ring Road, New Delhi.

   - Booking Website: www.hyatt.com


7. Shangri-La's - Eros Hotel, New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $180

   - Food: Features various dining options including Indian, Chinese, and Italian cuisines.

   - Location: Janpath, Connaught Place, New Delhi.

   - Booking Website: www.shangri-la.com


8. The Claridges New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $150

   - Food: Offers a selection of restaurants serving Indian, European, and Mediterranean cuisines.

   - Location: Aurangzeb Road, New Delhi.

   - Booking Website: www.claridges.com


9. ITC Maurya, Luxury Collection Hotel (Chanakyapuri)

   - Star Rating: 5 stars

   - Price per Night: Starts from $200

   - Food: Offers a variety of dining options including Indian, Chinese, and Italian cuisines.

   - Location: Chanakyapuri, New Delhi.

   - Booking Website: www.itchotels.com


10. The Lodhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $300

   - Food: Features a range of dining experiences including Indian, Mediterranean, and Thai cuisines.

   - Location: Lodhi Road, New Delhi.

   - Booking Website: www.thelodhi.com

The list of 5 stars Hotels in New Delhi not just end here, we have some more luxary and wonderful hotels in New Delhi.

11. Taj Palace, New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $200

   - Food: Provides a variety of dining options with Indian, Chinese, and Mediterranean cuisines.

   - Location: Sardar Patel Marg, Diplomatic Enclave, New Delhi.

   - Booking Website: www.tajhotels.com


12. Le Meridien New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $150

   - Food: Offers multiple dining venues including Indian, Italian, and pan-Asian cuisines.

   - Location: Windsor Place, Janpath, New Delhi.

   - Booking Website: www.marriott.com


13. The Lalit New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $130

   - Food: Features a variety of dining options serving Indian, Mediterranean, and Pan-Asian cuisines.

   - Location: Barakhamba Avenue, Connaught Place, New Delhi.

   - Booking Website: www.thelalit.com


14. Roseate House New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $120

   - Food: Offers a selection of restaurants serving Indian, European, and Asian cuisines.

   - Location: Aerocity, Indira Gandhi International Airport, New Delhi.

   - Booking Website: www.roseatehotels.com


15. Andaz Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $150

   - Food: Provides diverse dining options including Indian, European, and Chinese cuisines.

   - Location: Asset No.1, Aerocity, New Delhi.

   - Booking Website: www.hyatt.com


16. JW Marriott Hotel New Delhi Aerocity

   - Star Rating: 5 stars

   - Price per Night: Starts from $150

   - Food: Offers a variety of dining options including Indian, Japanese, and Mediterranean cuisines.

   - Location: Asset Area 4 - Hospitality District, Delhi Aerocity, New Delhi.

   - Booking Website: www.marriott.com


17. The Oberoi, Gurgaon

   - Star Rating: 5 stars

   - Price per Night: Starts from $350

   - Food: Provides a range of dining options with Indian, Chinese, and international cuisines.

   - Location: Udyog Vihar, Phase 5, Gurgaon (Delhi NCR).

   - Booking Website: www.oberoihotels.com


18. The Roseate New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $200

   - Food: Features multiple dining options serving Indian, European, and Asian cuisines.

   - Location: Samalkha, NH-8, New Delhi.

   - Booking Website: www.roseatehotels.com


19. The Ashok, Chanakyapuri

   - Star Rating: 5 stars

   - Price per Night: Starts from $100

   - Food: Offers a variety of dining experiences including Indian, Chinese, and Mediterranean cuisines.

   - Location: Diplomatic Enclave, Chanakyapuri, New Delhi.

   - Booking Website: www.theashok.com


20. Eros Hotel New Delhi, Nehru Place

   - Star Rating: 5 stars

   - Price per Night: Starts from $120

   - Food: Provides multiple dining venues serving Indian, Chinese, and Mediterranean cuisines.

   - Location: Nehru Place, New Delhi.

   - Booking Website: www.eroshotels.co.in


Please note that the prices mentioned are approximate starting prices and can vary depending on the season and availability. It is advisable to check with the hotels directly or visit their official websites for accurate pricing and to explore any special offers or packages they may have.