i got this error when run bench build
or bench update
any help
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
ERROR There were some problems during build
Error: The service was stopped: write EPIPE
at /home/frappeuser/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:1356:25
at /home/frappeuser/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:678:9
at afterClose (/home/frappeuser/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:656:7)
at /home/frappeuser/frappe-bench/apps/frappe/node_modules/esbuild/lib/main.js:2075:11
at onwriteError (node:internal/streams/writable:418:3)
at process.processTicksAndRejections (node:internal/process/task_queues:84:21)
Terminated
error Command failed with exit code 143.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/frappeuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
main()
File "/home/frappeuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
click.Group(commands=commands)(prog_name="bench")
File "/home/frappeuser/frappe-bench/env/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/frappeuser/frappe-bench/env/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/frappeuser/frappe-bench/env/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/frappeuser/frappe-bench/env/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/frappeuser/frappe-bench/env/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/frappeuser/frappe-bench/env/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/frappeuser/frappe-bench/apps/frappe/frappe/commands/utils.py", line 77, in build
bundle(
File "/home/frappeuser/frappe-bench/apps/frappe/frappe/build.py", line 254, in bundle
frappe.commands.popen(command, cwd=frappe_app_path, env=get_node_env(), raise_err=True)
File "/home/frappeuser/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 97, in popen
raise subprocess.CalledProcessError(return_, command)
subprocess.CalledProcessError: Command 'yarn run production --run-build-command' returned non-zero exit status 143.
INFO: A newer version of bench is available: 5.22.6 → 5.22.8