Thanks @saurabh6790
Yes , that was the issue for installing ,
dont know why the site did not get installed at first .
.
but even after installing erpnext , the bench does not start , goes down with error ,
17:06:31 redis_cache.1 | [4009] 21 Jun 17:06:31.692 # Server started, Redis version 2.8.4
17:06:31 redis_cache.1 | [4009] 21 Jun 17:06:31.692 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
17:06:31 redis_cache.1 | [4009] 21 Jun 17:06:31.692 * The server is now ready to accept connections on port 13000
17:06:32 socketio.1 | module.js:478
17:06:32 socketio.1 | throw err;
17:06:32 socketio.1 | ^
17:06:32 socketio.1 |
17:06:32 socketio.1 | Error: Cannot find module ‘express’
17:06:32 socketio.1 | at Function.Module._resolveFilename (module.js:476:15)
17:06:32 socketio.1 | at Function.Module._load (module.js:424:25)
17:06:32 socketio.1 | at Module.require (module.js:504:17)
17:06:32 socketio.1 | at require (internal/module.js:20:19)
17:06:32 socketio.1 | at Object. (/home/taher/latest_erp/frappe-bench/apps/frappe/socketio.js:1:91)
17:06:32 socketio.1 | at Module._compile (module.js:577:32)
17:06:32 socketio.1 | at Object.Module._extensions…js (module.js:586:10)
17:06:32 socketio.1 | at Module.load (module.js:494:32)
17:06:32 socketio.1 | at tryModuleLoad (module.js:453:12)
17:06:32 socketio.1 | at Function.Module._load (module.js:445:3)
17:06:32 system | socketio.1 stopped (rc=1)
17:06:32 system | sending SIGTERM to redis_socketio.1 (pid 3971)
17:06:32 system | sending SIGTERM to worker_long.1 (pid 3975)
now there is some express module missing , cant even start with bench serve (login page doesnt show up) .
So there are 3 apps in my local instant for the latest one , frappe , erpnext and foundation ,
.
bench does not start , please help