N
Novu10mo ago
trex00adi

local setup not working . npm run setup:project giving error

node - 20.8.0 pnpm - 8.9.0 Pulled the latest code today After cloning the repo, running the npm run setup:project getting the following error 82/86 succeeded [82 read from cache] × 4/86 targets failed, including the following: - nx run @novu/ee-dal:build - nx run @novu/ee-translation-web:build - nx run @novu/ee-auth:build - nx run @novu/ee-billing-web:build View structured, searchable error logs at https://nx.app/runs/jhdJxgIJbe
No description
15 Replies
Pawan Jain
Pawan Jain10mo ago
@trex00adi Please follow these steps:- npm run clean after successful completion of this command run npm run setup:project
trex00adi
trex00adiOP10mo ago
Hi @Pawan Jain , Still getting the same error
NX Ran target build for 91 projects (41s)
√ 82/86 succeeded [82 read from cache] × 4/86 targets failed, including the following: - nx run @novu/ee-dal:build - nx run @novu/ee-translation-web:build - nx run @novu/ee-billing-web:build - nx run @novu/ee-auth:build View structured, searchable error logs at https://nx.app/runs/CSqrL8eNGa  ELIFECYCLE  Command failed with exit code 1.
Pawan Jain
Pawan Jain10mo ago
@trex00adi I will check this debug the issue in few hours
trex00adi
trex00adiOP10mo ago
Thanks. Please ping after it is resolved. should Mongodb and redis be running while we run npm setup project command ?
Pawan Jain
Pawan Jain10mo ago
Yes Both should be running and allowing connection on default ports
trex00adi
trex00adiOP10mo ago
@Pawan Jain This one also facing the similar issue when setting up in local https://discord.com/channels/895029566685462578/1197454768516378685
Novu_Bot
Novu_Bot10mo ago
@trex00adi, you just advanced to level 1!
Pawan Jain
Pawan Jain10mo ago
Ok so you have windows system It will take me some time to debug in windows machine
trex00adi
trex00adiOP10mo ago
Yes cloning in Windows 10 . Is this sufficient setup for redis and mongoDB .Please verify .I've connected MongoDb and started redis server and cli
No description
Pawan Jain
Pawan Jain10mo ago
Yeah ut should work
trex00adi
trex00adiOP9mo ago
Please share when its resolved . Thank you Hello @Pawan Jain , I hope you're doing well. I wanted to kindly check if there have been any updates on the issue we discussed earlier. Is there any progress or potential fixes available?
Pawan Jain
Pawan Jain9mo ago
@trex00adi I got chance to check the issue on my friend windows machine, You can ignore this error and start working on Novu in local machine Are you looking to contribute to Novu?
trex00adi
trex00adiOP9mo ago
Hi @Pawan Jain ,Yes I want to contribute , I'm able to run it on web on localhost but when I ran the npm run start api :dev, I'm getting below error ,I think its related to last 3 target which failed to install when I ran setup project. Do you have any fix /workaround to install those 3 targets. Thank you
No description
No description
Pawan Jain
Pawan Jain9mo ago
@trex00adi In second image, I see application generic error Steps to remove this error are:-
cd packages/application-generic

npm run build
cd packages/application-generic

npm run build
and then
npm run start:api:dev
npm run start:api:dev
from root
trex00adi
trex00adiOP9mo ago
Thank you @Pawan Jain , Now I'm able to run the project .🙏 🙂
Want results from more Discord servers?
Add your server