[0.10.0] o.div is not a function
Getting the following after upgrading everything to 0.10.0, comment out all thinks from the
@novu/notification-center
and the error goes away:
20 Replies
Unknown Userâ¢2y ago
Message Not Public
Sign In & Join Server To View
hey @dr.really ð
I've checked if it works on the fresh CRA with the latest
notification-center
package, and it looks like everything is fine. I think that you might have a node_modules
issues, so my suggestion is try to remove it and install deps again.
The issue is kind of related to that we've switched from the styled-components
to the @emotion/styled
package.@paweltymczuk, you just advanced to level 12!
giving that a shot now ð
@dr.really Did it solve the issue?
that was it! thank you!
Unknown Userâ¢2y ago
Message Not Public
Sign In & Join Server To View
So once I added everything back into the app, I too got the same error message popping back up. @paweltymczuk
cleared node modules again, and running into the same issue. I looked and you did a CRA, but I'm using Remix, so might be an issue with ssr?
@amosbastian @dr.really question: do you both use
styled-components
in your projects?I use remix with mantine
Mantine v5.9
Remix v1.8
I was able to reproduce the issue, I'm trying to find the fix
No worries, thank you for your help!
I'll be heading to bed soon, any more info you need from me?
for now I'm fine. thx
Unknown Userâ¢2y ago
Message Not Public
Sign In & Join Server To View
@amosbastian @dr.really
I've found the issue and was able to fix and verify in both Remix and NextJS apps...
but still need to figure our the root issue with the
@emotion/styled
import after the transpilation to CJSthe PR is here: https://github.com/novuhq/novu/pull/2395
you are awesome
Can we get this PR reviewed and merged? This is stopping us from using the notification center in our application entirely :/
Unknown Userâ¢2y ago
Message Not Public
Sign In & Join Server To View
this will go into the patch we will release soon ð
Releasing the patch today
ð