N
Novu8mo ago
User15

Cannot login on running pnpm start:dev

This is my first time running the project .
No description
23 Replies
User15
User158mo ago
No description
User15
User158mo ago
No description
empe
empe8mo ago
So the login in the production doesn't work on the local setup, Novu user-database isn't running locally
User15
User158mo ago
am i missing the CORS chrome extension maybe ?
empe
empe8mo ago
No, it's not that.. Can you walk me through all the steps you did? So I could try and replicate it?
User15
User158mo ago
sure i started with pnpm build pnpm install then on the root pnpm start:web
Novu_Bot
Novu_Bot8mo ago
@User15, you just advanced to level 2!
empe
empe8mo ago
Were you following any particual documention page?
User15
User158mo ago
no just the package.json is there a documentation that i might have overlooked?
empe
empe8mo ago
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.
User15
User158mo ago
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
empe
empe8mo ago
Right
User15
User158mo ago
how do i solve it ?
empe
empe8mo ago
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:
If you're running your application in a docker container, you might have to update your .env configuration file. Instead of using 127.0.0.1 as your REDIS_HOST, you might need to specify the correct docker service name as the host. This error commonly arises when the service name for redis in your docker-compose file differs from the value you've defined in your .env file.
If you're running your application in a docker container, you might have to update your .env configuration file. Instead of using 127.0.0.1 as your REDIS_HOST, you might need to specify the correct docker service name as the host. This error commonly arises when the service name for redis in your docker-compose file differs from the value you've defined in your .env file.
Could you please tell me if it helped?
User15
User158mo ago
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
empe
empe8mo ago
@Pawan Jain can you please have a look?
User15
User158mo ago
could it be a firewall issue?
empe
empe8mo ago
@User15 Did you manage to solve it?
User15
User158mo ago
no its a blocker also saw an open issue https://github.com/novuhq/novu/issues/4610
empe
empe8mo ago
Does it describes fully your experience so far?
User15
User158mo ago
yes but is an on going error ? am i running the wrong command for runnin the project ?
empe
empe8mo ago
@Pawan Jain Can you please have a look here?
Pawan Jain
Pawan Jain7mo ago
@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
Want results from more Discord servers?
Add your server
More Posts