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
Parcel is failing to load the react-bootstrap-typeahead component, failing with the error: TypeError: Cannot read properties of undefined (reading 'default')
React-Bootstrap-Typeahead has a helper function called hasOwnProperty. I believe what's happening is that Parcel's esmodule-helpers are trying to call that rather than Object.prototype.hasOwnProperty.
Suggested fix is to call the prototype function directly, which is safer:
馃悰 bug report
Parcel is failing to load the react-bootstrap-typeahead component, failing with the error: TypeError: Cannot read properties of undefined (reading 'default')
馃帥 Configuration (.babelrc, package.json, cli command)
see repository bellow
minimal repo to reproduce error here: https://github.com/gagdiez/rbt-error-minimal
馃 Expected Behavior
The library should load and no error be displayed
馃槸 Current Behavior
馃敠 Context
Trying to build an application that uses that Component
馃捇 Code Sample
minimal repo to reproduce error here: https://github.com/gagdiez/rbt-error-minimal
馃實 Your Environment
The text was updated successfully, but these errors were encountered: