Frontend not running on my local machine

I followed every step from the official documentation and installed all the prerequisites and ran "npm run setup:project" after that. Then I ran "npm run start" and selected the Web Project option given by Jarvis. Everything went well without any errors and I got the logs in my terminal as shown in the screenshot yet when I tried visiting "http://localhost:4200" it shows that "the site can't be reached". Did I miss anything while setup here ?
No description
13 Replies
Ask Inkeep
Ask Inkeep9mo ago
Hi @adwaitgodbole, I'm an AI assistant for Novu. While a team member reviews this question, I'll look through relevant sources and see if I can provide suggestions. Please tag @Ask Inkeep with any follow-up questions. ----------------------------- While I generate an answer, here are some sources that might be helpful: * Run Novu in local machine * Deploy with Docker * Firebase Cloud Messaging (FCM) * Add a new provider -----------------------------
Ask Inkeep
Ask Inkeep9mo ago
Answer It seems like you've followed the setup steps correctly. If "http://localhost:4200" can't be reached, please ensure your local development environment matches the requirements, including Node.js version and having MongoDB and Redis running. Additionally, ensure no other service is using port 4200 and that your firewall or antivirus software isn't blocking the connection. If the issue persists, it might be helpful to check the application logs for any errors that could indicate what went wrong during the setup or while attempting to access the Web Management UI. Remember, the npm run start command should start the necessary services, including the Web Management platform (1) .
Ask Inkeep
Ask Inkeep9mo ago
Got it. Tagging @Support for additional help.
adwaitgodbole
adwaitgodboleOP9mo ago
this is what i keep seeing. I tried running the commands separately as well. First running npm run start:api:dev then npm run start:web, then npm run start:worker and then npm run start:ws still it didn’t work 😦
No description
adwaitgodbole
adwaitgodboleOP9mo ago
@Pawan Jain can you please help me out here. Same error when trying on Gitpod and GitHub Codespaces
Pawan Jain
Pawan Jain9mo ago
@adwaitgodbole Could you please check if web service is still running at port 4200?
adwaitgodbole
adwaitgodboleOP9mo ago
@Pawan Jain the terminal screenshot I uploaded keeps telling that the service is indeed running on port 4200 but nothing is being reflected on the browser for me. I will check once again if any web service is running on port 4200 through task manager maybe. But meanwhile, can you please check / confirm once on Gitpod and / or Codespaces. I tried running on both of them without doing any changes but still the UI didn't start up there as well. @Pawan Jain extremy sorry to disturb once again but can you please confirm 🙏 if it worked for you on Gitpod / Github Codespaces so that I can confirm that something’s wrong on my side:)
Novu_Bot
Novu_Bot9mo ago
@adwaitgodbole, you just advanced to level 1!
Pawan Jain
Pawan Jain9mo ago
@adwaitgodbole Checking in local machine as I have exhausted my gitpod free tier limit Are you getting this error? JavaScript heap out of memory
adwaitgodbole
adwaitgodboleOP9mo ago
yes exactly! @Pawan Jain @Pawan Jain can you help me fix this please ? I really wish to start contributing to Novu but stuck because of this issue
Pawan Jain
Pawan Jain9mo ago
@adwaitgodbole Shared this issue with team I will suggest you to run web,api and worker separately in different terminal in place of jarvis
adwaitgodbole
adwaitgodboleOP9mo ago
@Pawan Jain as I mentioned earlier, I had tried running all three of them separately as well on my local still the UI didn't show up
Pawan Jain
Pawan Jain9mo ago
That should work if you are using linux/mac then run this command in terminal and then retry export NODE_OPTIONS=--max_old_space_size=4096
Want results from more Discord servers?
Add your server