Install ERPNext v14 on Linux Ubuntu What is the situation here Can someone help me

bench init --frappe-branch version-14 frappe-bench

Setting Up Environment
$ python3 -m venv env
$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade pip

$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet wheel
Getting frappe
$ git clone GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript --branch version-14 --depth 1 --origin upstream
正克隆到 ‘frappe’…
remote: Enumerating objects: 3217, done.
remote: Counting objects: 100% (3217/3217), done.
remote: Compressing objects: 100% (2838/2838), done.
remote: Total 3217 (delta 383), reused 2211 (delta 278), pack-reused 0
接收对象中: 100% (3217/3217), 16.94 MiB | 1.05 MiB/s, 完成.
处理 delta 中: 100% (383/383), 完成.
Installing frappe
$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/frappe
$ yarn install
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: ‘install’
subprocess.CalledProcessError: Command ‘yarn install’ returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/usr/local/lib/python3.10/dist-packages/bench/commands/make.py”, line 68, in init
init(
File “/usr/local/lib/python3.10/dist-packages/bench/utils/render.py”, line 105, in wrapper_fn
return fn(*args, **kwargs)
File “/usr/local/lib/python3.10/dist-packages/bench/utils/system.py”, line 79, in init
get_app(
File “/usr/local/lib/python3.10/dist-packages/bench/app.py”, line 444, in get_app
app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)
File “/usr/local/lib/python3.10/dist-packages/bench/utils/render.py”, line 126, in wrapper_fn
return fn(*args, **kwargs)
File “/usr/local/lib/python3.10/dist-packages/bench/app.py”, line 242, in install
install_app(
File “/usr/local/lib/python3.10/dist-packages/bench/app.py”, line 581, in install_app
bench.run(“yarn install”, cwd=app_path)
File “/usr/local/lib/python3.10/dist-packages/bench/bench.py”, line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
File “/usr/local/lib/python3.10/dist-packages/bench/utils/init.py”, line 158, in exec_cmd
raise CommandFailedError(cmd) from subprocess.CalledProcessError(return_code, cmd)
bench.exceptions.CommandFailedError: yarn install

ERROR: There was a problem while creating frappe-bench

Hy @ihfvdxnui

You should check the whole post.

Thank You!

Hi @ihfvdxnui

if you wish to have an error free installation of ERPNEXT 14 on Ubuntu Server 22.04.3 LTS (latest LTS official release by Ubuntu) please follow this video step by step upto end of the video.

if you still encounter any problem, let us know…