Hi, I am new to Frappe framework.
I followed https://github.com/frappe/frappe/wiki/The-Hitchhiker’s-Guide-to-Installing-Frapp%C3%A9-on-Linux-OS for the setup.
bench start command isn’t working .
Similar issue, this should help you -
Thanks for the solution.
I applied it ,yet ended up in a new error(similar modules keep popping up)
Is there any issue with npm installation ?
- Debugger PIN: 158-405-477
17:12:01 watch.1 | module.js:549
17:12:01 watch.1 | throw err;
17:12:01 watch.1 | ^
17:12:01 watch.1 |
17:12:01 watch.1 | Error: Cannot find module ‘touch’
17:12:01 watch.1 | at Function.Module._resolveFilename (module.js:547:15)
17:12:01 watch.1 | at Function.Module._load (module.js:474:25)
17:12:01 watch.1 | at Module.require (module.js:596:17)
17:12:01 watch.1 | at require (internal/module.js:11:18)
please try
npm install touch
It’s still stuck,
Exception happened during processing of request from (‘127.0.0.1’, 44628)
17:51:31 web.1 | Traceback (most recent call last):
17:51:31 web.1 | File “/usr/lib/python2.7/SocketServer.py”, line 596, in process_request_thread
17:51:31 web.1 | self.finish_request(request, client_address)
17:51:31 web.1 | File “/usr/lib/python2.7/SocketServer.py”, line 331, in finish_request
17:51:31 web.1 | self.RequestHandlerClass(request, client_address, self)
17:51:31 web.1 | File “/usr/lib/python2.7/SocketServer.py”, line 652, in init
17:51:31 web.1 | self.handle()
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 293, in handle
17:51:31 web.1 | rv = BaseHTTPRequestHandler.handle(self)
17:51:31 web.1 | File “/usr/lib/python2.7/BaseHTTPServer.py”, line 340, in handle
17:51:31 web.1 | self.handle_one_request()
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 328, in handle_one_request
17:51:31 web.1 | return self.run_wsgi()
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 270, in run_wsgi
17:51:31 web.1 | execute(self.server.app)
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/env/local/lib/python2.7/site-packages/werkzeug/serving.py”, line 260, in execute
17:51:31 web.1 | for data in application_iter:
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/env/local/lib/python2.7/site-packages/werkzeug/debug/init.py”, line 288, in debug_application
17:51:31 web.1 | app_iter = self.app(environ, start_response)
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/apps/frappe/frappe/middlewares.py”, line 15, in call
17:51:31 web.1 | return super(StaticDataMiddleware, self).call(environ, start_response)
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py”, line 766, in call
17:51:31 web.1 | return self.app(environ, start_response)
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/env/local/lib/python2.7/site-packages/werkzeug/wsgi.py”, line 766, in call
17:51:31 web.1 | return self.app(environ, start_response)
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/env/local/lib/python2.7/site-packages/werkzeug/local.py”, line 228, in application
17:51:31 web.1 | return ClosingIterator(app(environ, start_response), self.cleanup)
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py”, line 308, in application
17:51:31 web.1 | resp = f(*args[:-2] + (request,))
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/apps/frappe/frappe/app.py”, line 59, in application
17:51:31 web.1 | init_request(request)
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/apps/frappe/frappe/app.py”, line 110, in init_request
17:51:31 web.1 | frappe.init(site=site, sites_path=_sites_path)
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/apps/frappe/frappe/init.py”, line 135, in init
17:51:31 web.1 | local.conf = _dict(get_site_config())
17:51:31 web.1 | File “/home/sayantika/frappe-inventory/apps/frappe/frappe/init.py”, line 192, in get_site_config
17:51:31 web.1 | sys.exit(1)
17:51:31 web.1 | SystemExit: 1
Seems site is missing. Create a site with
bench new-site site1.local
Hello @saurabh6790,
I have created the site, everything seems perfect until I run the command “bench start”.
The same error pops up.
There seems some problem with my mysql server setup and redis environment .
I could rectify the same.
Thanks !