You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2026. It is now read-only.
Hello. Application was running for a while(few months) and suddenly stopped working with error: Type is invalid - expected a string or a class/function (for composite components) but got: undefined. Check the render method of Input.
So whenever Geosuggest component should be rendered we get that error.
It is imported like this import Geosuggest from 'react-geosuggest';
I've also tried using const Geosuggest = require('react-geosuggest').default; but no luck with that either
This is entire log:
warning.js?8a56:33 Warning: 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. Check the render method of `Input`.
in Input (created by default_1)
in div (created by default_1)
in div (created by default_1)
in default_1 (created by GoogleMapsLoader)
in div (created by GoogleMapsLoader)
in GoogleMapsLoader (created by HomeAddressSearch)
in div (created by HomeAddressSearch)
in HomeAddressSearch (created by Connect(HomeAddressSearch))
in Connect(HomeAddressSearch) (created by InjectIntl(Connect(HomeAddressSearch)))
in InjectIntl(Connect(HomeAddressSearch)) (created by HomeDelivery)
in div (created by HomeDelivery)
in div (created by HomeDelivery)
in div (created by HomeDelivery)
in HomeDelivery (created by Connect(HomeDelivery))
in Connect(HomeDelivery) (created by InjectIntl(Connect(HomeDelivery)))
in InjectIntl(Connect(HomeDelivery)) (created by Route)
in Route (created by withRouter(InjectIntl(Connect(HomeDelivery))))
in withRouter(InjectIntl(Connect(HomeDelivery))) (created by Home)
in div (created by Home)
in div (created by Home)
in Home (created by Connect(Home))
in Connect(Home) (created by InjectIntl(Connect(Home)))
in InjectIntl(Connect(Home)) (created by Route)
in div (created by Route)
in Route (created by DefaultLayout)
in DefaultLayout (created by App)
in div (created by App)
in Router (created by HashRouter)
in HashRouter (created by App)
in Provider (created by App)
in IntlProvider (created by App)
in App (created by Connect(App))
in Connect(App)
Hello. Application was running for a while(few months) and suddenly stopped working with error: Type is invalid - expected a string or a class/function (for composite components) but got: undefined. Check the render method of
Input.So whenever Geosuggest component should be rendered we get that error.
It is imported like this import Geosuggest from 'react-geosuggest';
I've also tried using const Geosuggest = require('react-geosuggest').default; but no luck with that either
This is entire log: