Error: ENOENT: no such file or directory, stat '/home/di-1/frappe-bench/index.html' at Error (native)

Error: ENOENT: no such file or directory, stat ‘/home/di-1/frappe-bench/index.html’
at Error (native)

Please help me

It might means some of the dependencies might have failed to install.

Which version you are running?

$ bench version
$ bench --version

What steps you performed?

Maybe try following

$ ./env/bin/pip install -r ./apps/frappe/requirements.txt
$ ./env/bin/pip install -r ./apps/erpnext/requirements.txt
 0.0.0.0 does not exist
11:03:12 web.1            | ----------------------------------------
11:03:12 web.1            | Exception happened during processing of request from ('127.0.0.1', 42788)
11:03:12 web.1            | Traceback (most recent call last):
11:03:12 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
11:03:12 web.1            |     self.finish_request(request, client_address)
11:03:12 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
11:03:12 web.1            |     self.RequestHandlerClass(request, client_address, self)
11:03:12 web.1            |   File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
11:03:12 web.1            |     self.handle()
11:03:12 web.1            |   File "/home/di-1/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 216, in handle
11:03:12 web.1            |     rv = BaseHTTPRequestHandler.handle(self)
11:03:12 web.1            |   File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
11:03:12 web.1            |     self.handle_one_request()
11:03:12 web.1            |   File "/home/di-1/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 251, in handle_one_request
11:03:12 web.1            |     return self.run_wsgi()
11:03:12 web.1            |   File "/home/di-1/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 193, in run_wsgi
11:03:12 web.1            |     execute(self.server.app)
11:03:12 web.1            |   File "/home/di-1/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/serving.py", line 183, in execute
11:03:12 web.1            |     for data in application_iter:
11:03:12 web.1            |   File "/home/di-1/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/debug/__init__.py", line 284, in debug_application
11:03:12 web.1            |     app_iter = self.app(environ, start_response)
11:03:12 web.1            |   File "/home/di-1/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in __call__
11:03:12 web.1            |     return super(StaticDataMiddleware, self).__call__(environ, start_response)
11:03:12 web.1            |   File "/home/di-1/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
11:03:12 web.1            |     return self.app(environ, start_response)
11:03:12 web.1            |   File "/home/di-1/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 599, in __call__
11:03:12 web.1            |     return self.app(environ, start_response)
11:03:12 web.1            |   File "/home/di-1/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/local.py", line 228, in application
11:03:12 web.1            |     return ClosingIterator(app(environ, start_response), self.cleanup)
11:03:12 web.1            |   File "/home/di-1/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 291, in application
11:03:12 web.1            |     return f(*args[:-2] + (request,))(*args[-2:])
11:03:12 web.1            |   File "/home/di-1/frappe-bench/apps/frappe/frappe/app.py", line 52, in application
11:03:12 web.1            |     init_request(request)
11:03:12 web.1            |   File "/home/di-1/frappe-bench/apps/frappe/frappe/app.py", line 103, in init_request
11:03:12 web.1            |     frappe.init(site=site, sites_path=_sites_path)
11:03:12 web.1            |   File "/home/di-1/frappe-bench/apps/frappe/frappe/__init__.py", line 120, in init
11:03:12 web.1            |     local.conf = _dict(get_site_config())
11:03:12 web.1            |   File "/home/di-1/frappe-bench/apps/frappe/frappe/__init__.py", line 175, in get_site_config
11:03:12 web.1            |     sys.exit(1)
11:03:12 web.1            | SystemExit: 1
11:03:12 web.1            | ----------------------------------------

di-1@di1:~/frappe-bench$ ./env/bin/pip install -r ./apps/erpnext/requirements.txt
Could not open requirements file: [Errno 2] No such file or directory: ‘./apps/erpnext/requirements.txt’

di-1@di1:~/frappe-bench$ bench version
frappe 7.1.0-beta
di-1@di1:~/frappe-bench$ bench --version
4.1.0

@bhavikpatel7023 Please read this and follow

Thank…

How did you solve this issue? Because, I’m getting the same error

Were you able to solve this, if so how?

Hii when i;m trying to install frappe

bench --version --> 5.7.5

Please help me