NestJs | Unable to see workflows in studio

I am following nestjs guide - https://docs.novu.co/framework/quickstart/nestjs 1. I have updated my app.module.js exactly as mentioned in docs. 2. added a new folder under src/novu/ inside which resides workflows.ts 3. when I head to localhost:2022/studio I see page. Screenshots attached. Doubts: 1. Do I need a nextjs project for this to work? 2. As per my understanding the test-workflow that is added in file workflows.ts should be visible here. Is this correct? 3. I do not have any workflow in my novu dashboard, could this cause any issues? Response from endpoint -> http://localhost:8080/api/novu
{"status":"ok","sdkVersion":"2.5.3","frameworkVersion":"2024-06-26","discovered":{"workflows":1,"steps":1}}
{"status":"ok","sdkVersion":"2.5.3","frameworkVersion":"2024-06-26","discovered":{"workflows":1,"steps":1}}
No description
No description
14 Replies
Pawan Jain
Pawan Jain3w ago
@Devesh Verma You will need to create workflow in workflow.ts file @Devesh Verma Have you created account on Novu?
Devesh Verma
Devesh VermaOP3w ago
I updated the file name still no change Yeah
Pawan Jain
Pawan Jain3w ago
Can you share the terminal screenshot when you used npx novu@latest dev
Devesh Verma
Devesh VermaOP3w ago
Here it is
No description
Pawan Jain
Pawan Jain3w ago
Do you see any error in application terminal
Devesh Verma
Devesh VermaOP3w ago
No error on the app server. I switched to safari, now Its waiting on last step. But my app server and tunnel are on.
No description
No description
Pawan Jain
Pawan Jain3w ago
first screenshot, third step is still loading? I see you are using safari browser Can you switch to chrome browser?
Devesh Verma
Devesh VermaOP3w ago
Yeah, its still loading. I was using arc(runs on chrome engine). There I did not see this.
Novu_Bot
Novu_Bot3w ago
@Devesh Verma, you just advanced to level 2!
Devesh Verma
Devesh VermaOP3w ago
On the other browser, 3rd step says connected. But on the next page Test Workflow is still empty.
Pawan Jain
Pawan Jain3w ago
Can you share the screen show me the issue? I will be able to debug
Devesh Verma
Devesh VermaOP3w ago
I added one more workflow and its detected in the cli as well as in the api response of /api/novu
No description
Devesh Verma
Devesh VermaOP3w ago
Sure man
Pawan Jain
Pawan Jain3w ago
@Devesh Verma I hope our sync helped in resolving the issue. I am closing this thread as of now. Feel free to create another post if you need help 🙌🏻

Did you find this page helpful?