Bench Start Problem || Spawn Error

Hello All,

I’m facing this issue while running the bench start command. It gives the spawn error on the socketio as seen in the screenshots attached below.

It will be a great help, if anyone can assist on this.

Thanks & Regards,
Kalpit Shah

Any help on this?

- remove node_modules from app/frappe
- reinstall node dependancies via bench setup requirements --node
- restart supervisor
1 Like

Hello @saurabh6790,

Thank you for your reply on this.

Erpnext Version : 9.2.13
Frappe Version : 9.2.14


The error still persists.

you can try to reinstall redis

cd ~/frappe-bench;
bench setup redis;
bench setup socketio;
bench setup config;
bench restart;

Maybe check the log files too

tail 50 ./frappe-bench/logs/node-socketio.error.log;
tail 50 ./frappe-bench/logs/redis-cache.error.log;

Which versions of redis/node/npm/yarn are running?

node -v && npm -v && yarn -v
redis-server -v

1 Like

Version Details :-

Log Details :-

redis-server -v didn’t responded anything on terminal.

I’ll try to reinstall redis and let you know the details.

Thank you for your input!

sudo apt install redis-server -y
#Test the install:
redis-server -v

@Shah_Kalpit have you cleared this issue…? if not let use this below codes

  • npm install babel-core less chokidar babel-preset-es2015 babel-preset-es2016 babel-preset-es2017 babel-preset-babili

  • echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

The last pic you showed… “No such file…” for the redis.log, indicates that redis is not installed or not working correctly