Hi everyone,
I want to install webshop but i’m resulting in error when I run bench get-app webshop
I’m Using:
ERPNext: v14.62.3
Frappe Framework: v14.65.0
ERROR LOG:
$ bench get-app webshop
A directory for the application 'webshop' already exists. Do you want to continue and overwrite it? [y/N]: n
Do you want to reinstall the existing application? [y/N]: y
Ignoring dependencies of webshop. To install dependencies use --resolve-deps
Installing webshop
$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/webshop
ERROR: [Errno 13] Permission denied: './sites/apps.txt'
Traceback (most recent call last):
File "/usr/local/bin/bench", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.10/site-packages/bench/cli.py", line 132, in cli
bench_command()
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/bench/commands/make.py", line 181, in get_app
get_app(
File "/usr/local/lib/python3.10/site-packages/bench/app.py", line 771, in get_app
app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)
File "/usr/local/lib/python3.10/site-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/bench/app.py", line 254, in install
install_app(
File "/usr/local/lib/python3.10/site-packages/bench/app.py", line 916, in install_app
bench.apps.sync(app_name=app, required=resolution, branch=tag, app_dir=app_path)
File "/usr/local/lib/python3.10/site-packages/bench/bench.py", line 268, in sync
with open(self.bench.apps_txt, "w") as f:
PermissionError: [Errno 13] Permission denied: './sites/apps.txt'
INFO: A newer version of bench is available: 5.22.0 → 5.22.3
$