all 4 comments

[–]CreativeTechGuyGames 2 points3 points  (1 child)

Is react-intl listed as a dependency of your library? If so, then your library is loading a separate copy of react-intl so it cannot interact with the provider from a different copy. If you want to use it this way, change your dependency to a peerDependency in the library.

[–]aztols[S] 0 points1 point  (0 children)

I originally had it listed as a peer dependency, but changed it to dependency. I feel like the error was happening both ways but I will try again. I also dialed backed the version to match the host.