N
Novu5w ago
AzotoN1

Nuxt integration with error 500 - self hosted

Hi guys, I have an issue, when i try to use novu in Nuxt 3 i have an error 500 (you can see error on screenshot). I put ids in correct places. I include backend and socket Urls in propses.
No description
No description
No description
16 Replies
Ask Inkeep
Ask Inkeep5w ago
Hi @AzotoN1, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question. ----------------------------- While I generate an answer, here are some sources that might be helpful: * React Get Started * Get Started * Deploy with Docker * Overview -----------------------------
Ask Inkeep
Ask Inkeep5w ago
Answer Hello, It seems like you are encountering an internal server error when integrating Novu with Nuxt 3. While the specific Nuxt 3 scenario isn't directly addressed in our documentation, you should first ensure that all configurations on both the backend URL and the socket URL are correctly set up. Make sure the environment variables and any related configuration settings in your .env file or within your application are correct. This includes ensuring the API_ROOT_URL, REACT_APP_WS_URL, and other related settings are properly aligned with your deployment. Similarly, check that your server can handle requests properly and that there are no server-side errors leading to the 500 error. It’s also helpful to look at the server logs to identify any specific issues or exceptions that are thrown, which can provide more insight into what might be causing the error. If the issue persists, you might need to review the network requests using developer tools in your browser to ensure that the requests are correctly formed and are reaching the server without issues. For a deeper dive into a related setup, you can refer to our React integration documentation which might offer insights that are applicable to your Nuxt setup as well (1) . : [React Get The user might be having an issue with their self-hosted Novu environment that produces an HTTP 500 error, which typically indicates a server-side error. This could be due to a misconfiguration in their Novu setup, an issue with their database connection, or an unhandled exception in their Novu server code.
Ask Inkeep
Ask Inkeep5w ago
Got it. Tagging @Support for additional help.
AzotoN1
AzotoN15w ago
No description
madd
madd5w ago
@AzotoN1 I don't use Vue or Nuxt but I was able to integrate notification center in my example: https://stackblitz.com/edit/nuxt-starter-xqpfkd Make sure that all notification center related stuff is executed on client-side (declare client-side plugin and wrap notification-center in client-side component) Let me know if it works
Michal Dziuba
StackBlitz
Novu with Nuxt.js - StackBlitz
Create a new Nuxt project, module, layer or start from a theme with our collection of starters.
AzotoN1
AzotoN15w ago
@madd działa prawie pięknie
AzotoN1
AzotoN15w ago
No description
AzotoN1
AzotoN14w ago
i have this issue now, as you can see connection working well, but component with notification didnt appear i have nuxt 3.9.3, node 20.2.0
AzotoN1
AzotoN14w ago
and have new errors without any updates xD
No description
Novu_Bot
Novu_Bot4w ago
@AzotoN1, you just advanced to level 1!
AzotoN1
AzotoN14w ago
@madd any idea? I'm so desperate about it, becouse i want it to be one of main features on my app
madd
madd4w ago
can you provide github repo with minimal reproducible code
AzotoN1
AzotoN14w ago
I'll try it's an NDA project but i will try to reproduce what i can @madd i find out something. When you use formkit error appear, but when u uninstall it novu working pretty well can you try install formkit on your example? ok, for future generations My problem was using a formkit with genesis pro theme. Genesis use tailwind and tailwind imports making a conflict with novu configuration
Tomer Barnea
Tomer Barnea4w ago
@Pawan Jain check this out, Thanks @AzotoN1
AzotoN1
AzotoN14w ago
🫡
Novu_Bot
Novu_Bot4w ago
@AzotoN1, you just advanced to level 2!
Want results from more Discord servers?
Add your server
More Posts
How do I programmatically close the NotificationCenter? (vue)There doesn't seem to be a way, but I may be missing something.Getting errors while setting up project in my local.Hi, I am getting below error while setting up the project. × nx run @novu/ee-dal:build How to use Handlebar to reference System VariablesI am working on a POC where I want an email workflow to have a simple `{{{message}}}` variable. The Vercel errors when I open the Preview in Novu using Novu EchoI'm using Novu Echo and I have a couple of steps configured `In App -> Digest -> Email` When I go tCan someone help me in adding new npm package on NOVU project?I want to add some npm package to application-generic for implementing sth. So I just pnpm added <PaHi there. the Novu dashboad says my notification was sent but i am not receiving the notification.The Novu dashboad says my notification was sent but i am not receiving the notification on my cell. Can someone help me in applying background image in a custom html templateThis is what my template looks like ``` ```Can we use Dynamic templates of Send grid using Golang package of Novu?We are currently using sendgrid provider for emails And we are using sendgrid dynamic templates to sUnable to send notificationsHi! We are using novu selfhosted over a couple of different docker hosts. All the containers startsGetting "email must be email" error when using apiService.initializeSessionHi i'm using the ApiService from `@novu/client` package. The code is somewhat like: ``` import { Api