Run Novu in local machine fails
Hi there, I am getting below errors when following the content from here https://docs.novu.co/community/run-in-local-machine. Please guide
NX Ran target build for 86 projects (6m)√ 79/82 succeeded [0 read from cache] × 3/82 targets failed, including the following: - nx run @novu/ee-dal:build - nx run @novu/ee-translation-web:build - nx run @novu/ee-auth:build
Novu
Start Point - Novu
Novu is an open-source notification infrastructure, built for engineering teams to help them build rich product notification experiences.
4 Replies
@SachinKuber
What is your node and pnpm version?
Are you using latest next branch code?
node -v
v18.17.1
pnpm -v
8.14.1
I am following the commands in the docs. So I am not sure about 2nd question
@SachinKuber
Please use node version >20 and retry
hi there , i am getting this error message ,while setting up locally,windows 11.
tried reinstalling nodejs,reinstalling pnpm without npm, also with npm,re cloned this repo multiple times.
" ERR_PNPM_LINKING_FAILED Error: EPERM: operation not permitted, rename ERR_PNPM_LINKING_FAILED Error: EPERM: operation not permitted, rename 'C:\Users\mthef\Desktop\novu\node_modules.pnpm\[email protected]\node_modules\protobufjs_tmp_2916' -> 'C:\Users\mthef\Desktop\novu\node_modules.pnpm\[email protected]\node_modules\protobufjs'
this file doesnt exist 'C:\Users\mthef\Desktop\novu\node_modules.pnpm\[email protected]\node_modules\protobufjs_tmp_2916',instead this exist 'C:\Users\mthef\Desktop\novu\node_modules.pnpm\[email protected]\node_modules@protobufjs'
node -v === 20.11.0
pnpm -v === in the project it shows 8.9.0, outside this project shows 8.14.1
getting this error now
ELIFECYCLE Command failed with exit code 1.
√ nx run novu:build [existing outputs match the cache, left as is]
√ nx run @novu/headless:build [existing outputs match the cache, left as is]
√ nx run @novu/angular-workspace:build [existing outputs match the cache, left as is]
√ nx run @novu/notification-center-vue:build [existing outputs match the cache, left as is]
√ nx run @novu/widget:build [existing outputs match the cache, left as is]
√ nx run @novu/embed:build [existing outputs match the cache, left as is]
√ nx run @novu/inbound-mail:build [existing outputs match the cache, left as is]
√ nx run @novu/webhook:build [existing outputs match the cache, left as is]
√ nx run @novu/ws:build [existing outputs match the cache, left as is]
———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
NX Ran target build for 87 projects (37s)√ 80/83 succeeded [80 read from cache] × 3/83 targets failed, including the following: - nx run @novu/ee-dal:build - nx run @novu/ee-auth:build - nx run @novu/ee-translation-web:build View structured, searchable error logs at https://nx.app/runs/RBsNbU9zTw ELIFECYCLE Command failed with exit code 1.