Local setup : Error while installing dependencies
I was setting up novu locally, on executing npm run setup:project, I am getting below error.
nx run-many --target=prebuild --all --verbose
[NX CLOUD] Using light client
[NX CLOUD] Currently installed bundle is invalid, downloading version undefined from undefined
> NX The "path" argument must be of type string. Received undefined
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at join (node:path:457:7)
at C:\Users\tutan\novu\node_modules.pnpm\nx-cloud@18.0.1\node_modules\nx-cloud\lib\light-client\update-manager.js:199:55
at Generator.next (<anonymous>)
at fulfilled (C:\Users\tutan\novu\node_modules.pnpm\nx-cloud@18.0.1\node_modules\nx-cloud\lib\light-client\update-manager.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
ELIFECYCLE Command failed with exit code 1.
I was trying to fix by applying commands below, but still no luck
npx nx reset
npm run clean
then after executing npm run setup:project got same above error.
Any fix would would be highly appreciated
nx run-many --target=prebuild --all
nx run-many --target=prebuild --all --verbose
[NX CLOUD] Using light client
[NX CLOUD] Currently installed bundle is invalid, downloading version undefined from undefined
> NX The "path" argument must be of type string. Received undefined
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at join (node:path:457:7)
at C:\Users\tutan\novu\node_modules.pnpm\nx-cloud@18.0.1\node_modules\nx-cloud\lib\light-client\update-manager.js:199:55
at Generator.next (<anonymous>)
at fulfilled (C:\Users\tutan\novu\node_modules.pnpm\nx-cloud@18.0.1\node_modules\nx-cloud\lib\light-client\update-manager.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
ELIFECYCLE Command failed with exit code 1.
I was trying to fix by applying commands below, but still no luck
npx nx reset
npm run clean
then after executing npm run setup:project got same above error.
Any fix would would be highly appreciated
