Issue with migration and React Intl: "Could not find required intl
object. <IntlProvider> needs to exist in the component ancestry."
#2648
Labels
Describe the issue
I've followed the migration guide upgrading our custom-app to the new organisational level, including upping all packages to 21.x from 18.x.
Our app is breaking upon startup unless we wrap the ApplicationShell with an IntlProvider (from "react-intl"). Even doing so, though, upon errors the app breaks with the same error (see screenshot).
To Reproduce
Steps to reproduce the behavior:
No idea. What do you propose?
Expected behavior
The error screen should show.
Screenshots
Error upon startup:
![image](https://user-images.githubusercontent.com/1072245/174074033-358985f1-32b9-4204-bb42-391b7ce74709.png)
Fix for startup error:
![image](https://user-images.githubusercontent.com/1072245/174073519-9f9aa53c-ff4a-4669-ba78-e3ed62be614f.png)
Error on application-error:
![image](https://user-images.githubusercontent.com/1072245/174073165-a63df3b5-1cf2-4149-ba77-784b3d6351df.png)
Additional context
Referred here by customer service: https://jira.commercetools.com/servicedesk/customer/portal/1/SUPPORT-16870
The text was updated successfully, but these errors were encountered: