you need to do get-app before install app. Just like how you download an installer from the internet and then install the application. get-app collects the source from Github and install-app will install the app on your currently active site.
it shows
erpnextuser@sadikur-PC:/opt/erpnext/erpnext$ bench get-app erpnext GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP) --branch master
INFO:bench.app:getting app erpnext
INFO:bench.utils:git clone GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP) --branch master --depth 1 --origin upstream
fatal: destination path ‘erpnext’ already exists and is not an empty directory.
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/opt/erpnext/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/opt/erpnext/bench-repo/bench/commands/make.py”, line 40, in get_app
get_app(git_url, branch=branch)
File “/opt/erpnext/bench-repo/bench/app.py”, line 124, in get_app
cwd=os.path.join(bench_path, ‘apps’))
File “/opt/erpnext/bench-repo/bench/utils.py”, line 159, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: git clone GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP) --branch master --depth 1 --origin upstream
Delete the current folder in your apps directory. and again run the same command i.e. the Step 2
This worked for me, thanks. I do not recall getting an opportunity to provide an email address during installation. I was only able to do so after logging in as Administrator. I can now see the Desk.