Cannot login on running pnpm start:dev
This is my first time running the project .
23 Replies
So the login in the production doesn't work on the local setup, Novu user-database isn't running locally
am i missing the CORS chrome extension maybe ?
No, it's not that..
Can you walk me through all the steps you did? So I could try and replicate it?
sure
i started with pnpm build
pnpm install
then on the root
pnpm start:web
@User15, you just advanced to level 2!
Were you following any particual documention page?
no just the package.json
is there a documentation that i might have overlooked?
Consider visiting this page: https://docs.novu.co/community/run-in-local-machine
Novu
Run Novu in local machine - Novu
Prerequisites and steps to run Novu in local machine. Learn how to set up Novu on your local environment for testing and development.
ok i already tried this
i get this error
Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
errno: -61,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6379
}
which means redis has issues right ?
so after that i only tried to run web
Right
how do i solve it ?
Our search bar over the docs also got AI integrated with our Documentation, GitHub and most Discord messages issues indexed..
When I asked it your question, it returned the following:
Could you please tell me if it helped?
actually no cos i dont know which env file
since its a monorepo each application has its own
MONGO_URL=mongodb://localhost:27017/novu-db
MONGO_MAX_POOL_SIZE=500
REDIS_PORT=6379
REDIS_PREFIX=
REDIS_HOST=localhost
REDIS_DB_INDEX=2
what do i replace it with
@Pawan Jain can you please have a look?
could it be a firewall issue?
@User15 Did you manage to solve it?
no its a blocker
also saw an open issue
https://github.com/novuhq/novu/issues/4610
Does it describes fully your experience so far?
yes
but is an on going error ? am i running the wrong command for runnin the project
?
@Pawan Jain Can you please have a look here?
@User15
make sure you redis and mongodb is running
and api, web, worker service is running
Closing this post due to inactivity. Feel free to create a new post if you have any question or you are still facing issue