Soketi is not working with Strapi and Next JS #971
-
Hey everyone! Backend Code - Strapi
Please Note: All the variables used (like sessionId, result etc.) are properly defined. My Frontend Code - NextJS
Please let me know what am I doing wrong here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Okay so I figured out... Strapi wasn't recognising my |
Beta Was this translation helpful? Give feedback.
Okay so I figured out... Strapi wasn't recognising my
helpers
folder and that's why I was receiving error saying pusher is undefined. I put my entirepusher.js
code inside the config folder and it started working!Anyone who faces similar issues, can reach out to me. I'll be glad to help.