N
Novu14mo ago
Laxmi

Not able to run novu on local machine

Hi, I have done following on Mac laptop: 1. npm run setup:project 2.in docker/local/development: $ docker-compose up 3.in 3 terminals : $npm run start:api $npm run start:worker $npm run start:web 4. npm run start:web is giving following error <--- Last few GCs ---> [4704:0x138008000] 28645 ms: Mark-sweep 2023.1 (2086.1) -> 2010.9 (2090.1) MB, 1181.8 / 0.0 ms (average mu = 0.339, current mu = 0.057) allocation failure scavenge might not succeed [4704:0x138008000] 30511 ms: Mark-sweep 2028.3 (2091.6) -> 2017.9 (2097.4) MB, 1735.1 / 0.0 ms (average mu = 0.193, current mu = 0.070) allocation failure scavenge might not succeed <--- JS stacktrace ---> FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 1: 0x100caa260 node::Abort() [/Users/admin/.nvm/versions/node/v16.14.0/bin/node] 197: 0x183069058 start [/usr/lib/dyld]  ELIFECYCLE  Command failed with exit code 1 5.I have increased heap size using below command: $Env:NODE_OPTIONS='--max-old-space-size=8192' But still it is giving same error.Please guide me.
2 Replies
Laxmi
LaxmiOP14mo ago
It got resolved. I have followed below steps for mac machine: you need to start your docker desktop. 1.In root folder 'npm run setup:project'(After successfully installed) 2.open 4 terminals 3.first terminal go to docker/local/development and run 'docker-compose up' 3.(In root folder )go to second terminal and run 'npm run start:api' 4.(In root folder) go to third terminal and run 'npm run start:worker' 5.(In root folder) go to fourth terminal and run 'npm run start:web'(you should see 'No issues') Then you will be able to see novu login page in http://localhost:4200
Pawan Jain
Pawan Jain14mo ago
thanks for the update @Laxmi
Want results from more Discord servers?
Add your server