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
After updating @emotion/cache, @emotion/react, and @emotion/styled to v11.13.0, I receive the following type error.
This happens because of EmotionCache type mismatch between @emotion/cache (uses @emotion/utils@^1.4.0) and @emotion/server (uses @emotion/utils@^1.2.1).
For now, I just used yarn's resolutions to force @emotion/server to install the latest @emotion/utils.
Current behavior:
After updating
@emotion/cache
,@emotion/react
, and@emotion/styled
tov11.13.0
, I receive the following type error.This happens because of
EmotionCache
type mismatch between@emotion/cache
(uses@emotion/utils@^1.4.0
) and@emotion/server
(uses@emotion/utils@^1.2.1
).For now, I just used yarn's
resolutions
to force@emotion/server
to install the latest@emotion/utils
.To reproduce:
@emotion/cache
tov11.13.0
and@emotion/server
tov11.11.0
.createCache
from@emotion/cache
.createEmotionServer
from@emotion/server/create-instance
.Expected behavior:
It should not throw a type error.
Environment information:
react
version: 18.2.0@emotion/react
version: 11.13.0@emotion/cache
version: 11.13.0@emotion/styled
version: 11.13.0@emotion/server
version: 11.11.0The text was updated successfully, but these errors were encountered: