#I tried Running localhost server
1 messages · Page 1 of 1 (latest)
Just run npm run start
Jarvis CLI will guide you though the process
On npm run start -> selected development environment setup ( showing above error )
Instead of selecting development environment, select the first option i.e local run
I successfully solved this issue and now my local server is running on 4200, I was able to login but after some time I refreshed page because changes in vs code was not reflecting on localhost server but on refreshing server close and when I am again doing npm run start:web it is showing error
Try running npm run setup: project maybe there are some missing packages
*setup:project
okk
@grave iris, you just advanced to level 1!
@rugged pond I tried but still not working
I don't know what happened, The server was running perfectly fine and I just refreshed the page and now the server not starting again
npm run start:api , npm run start:web and npm run start:worker these are in different terminals
even without backend the npm run start:web command should display login page
can you show what is printed to console above
I suspect memory leak but not sure
ok thanks, I will be waiting
I see you are using windows, so try something like this: ```powershell
$Env:NODE_OPTIONS='--max-old-space-size=8192'
I assume you have at least 8 GB of memory
but 4 GB max old space should work too
You will need to type it every time you open terminal. I don't remember how to "persist" env variable on Windows, but it's possible.
thanks a lot
@grave iris, you just advanced to level 2!
do I have to reload website every time to reflect changes to my localhost server?
it should reload automatically if you change something in apps/web
but in case of some libraries inside libs you may need to rebuild that library and then web's server should detect change
changes in vscode aren't directly reflecting to website
can you guide me how to do that
changes made in my vscode took 10-15sec to reflect
depends where you are making changes
for example if you are working on shared library there is ```sh
npm run start:shared
and as far I remember it watches changes
Yes its using nodemon so if has hot reload
You can check that using the path as novu is a monorepo
So there's folder for every service
Like email editor is in the web folder
app/web
ok so for web folder what is command to wathc? @rugged pond
@grave iris, you just advanced to level 3!
@grave iris web uses hot reloading, and it updates automatically on change
What is your system configuration like RAM Size / OS / Processor?
but it takes upto 10 sec to reflect changes, Its hard to code that way
wait
8gb ram, AMD Ryzen 5 5600H , Graphic card GTX 1650
if possible close unused applications to save system resources
npm run start:web
You can see all the commands in the package.json in root dir
okay if that's the only option
npm run setup:project not working , My localhost server was not starting so I though to setup again but I am getting this message
I have latest version of pnpm ,
@sleek yarrow @steep glade
Issue is Solved...
@grave iris Are you willing to open an issue with a common FAQ and how you solved it to help other windows users trying to set up novu for the first time?
Okay I will do it soon
@restive hamlet Hey, Sorry for the delay, I opened the issue so please checkout and tell me if any changes required -> https://github.com/novuhq/novu/issues/4630
@grave iris
Thanks
I think you should pin this issue otherwise how do new contributors find that.
We need to add this in our docs
Can I do that? It would also help me to complete my hacktoberfest Pull request.
I am getting "something already running on port 4200 " while running npm start:web
then check your browser at localhost:4200
you need to setup mongodb and redis
How to Setup Novu for the First Time? Refer to this Run Novu in Local Machine. 1. Unable to Login ? Mostly it happens if you did not set up the MongoDB and Redis. Solution 1: Just run npm run start...
checkout this
go for solution 2
Yes,i got solution.but not this one.any way thanks for your help
its showing 0 mails per month.how we can use free one
@copper linden, you just advanced to level 1!
@steep glade is that any way to do this
Novu for their email provider uses SendGrid under the hood as far I remember
they cannot share their SendGrid credentials with community
How can I use please guide me
I am running locally.please let me know how can I use free mails and sms in local deployment.
@sleek yarrow
and i am getting unuthorized error while checking
@sleek yarrow where can i get tennent id
@copper linden
Novu Email and SMS providers will not work in local machine. These are for only cloud providers