-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SelectField - React Intl - Could not find intl
object
#2167
Comments
Hello @JonYeb Thanks for letting us know about this problem. When you are using However, we've seen this message also when there are different versions of
After reviewing your Could you try updating your |
Hi @CarlosCortizasCT So for other people having the same issue: |
@JonYeb got an example of your package.json? still seeing this issue after updating |
@jtabone16 sure. Down here are my current dependencies. And like I said, for me it helped updating ui kit dependencies to 14.x and some other commerce tools stuff to 21.3 if you compare the version now to the one I initially posted.
|
On your UI Kit we are running into issues with the Select Field Component .
We used the example code of the story book.
In the browser console we see the error:
Uncaught Error: [React Intl] Could not find required
intlobject. <IntlProvider> needs to exist in the component ancestry.
as well as:
The above error occurred in the <SelectInput> component
In the story book of said component, nothing is mentioned of needing to have this.
(We also have the same error with a few other input elements)
We tried different approaches but couldn’t get rid of the error.
The only peer dependencies needed according to the page is react, which we obviously have.
Dependencies from the package json:
The text was updated successfully, but these errors were encountered: