yarn run v1.22.19
$ node esbuild --production --apps lending --run-build-command
node:internal/modules/cjs/loader:942
throw err;
^
Error: Cannot find module ‘esbuild-plugin-vue3’
Require stack:
- /home/decor/frappe-bench/apps/frappe/esbuild/esbuild.js
- /home/decor/frappe-bench/apps/frappe/esbuild/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:939:15)
at Module._load (node:internal/modules/cjs/loader:780:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/home/decor/frappe-bench/apps/frappe/esbuild/esbuild.js:5:13)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Module._extensions…js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Module._load (node:internal/modules/cjs/loader:827:12)
at Module.require (node:internal/modules/cjs/loader:1005:19) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/decor/frappe-bench/apps/frappe/esbuild/esbuild.js’,
‘/home/decor/frappe-bench/apps/frappe/esbuild/index.js’
]
}
Node.js v18.1.0
error Command failed with exit code 1.
info Visit yarn run | Yarn for documentation about this command.
Traceback (most recent call last):
File “/usr/lib/python3.10/runpy.py”, line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/usr/lib/python3.10/runpy.py”, line 86, in _run_code
exec(code, run_globals)
File “/home/decor/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 114, in
main()
File “/home/decor/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 20, in main
click.Group(commands=commands)(prog_name=“bench”)
File “/home/decor/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1157, in call
return self.main(*args, **kwargs)
File “/home/decor/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1078, in main
rv = self.invoke(ctx)
File “/home/decor/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/decor/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/decor/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/decor/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 783, in invoke
return _callback(*args, **kwargs)
File “/home/decor/frappe-bench/apps/frappe/frappe/commands/utils.py”, line 72, in build
bundle(
File “/home/decor/frappe-bench/apps/frappe/frappe/build.py”, line 257, in bundle
frappe.commands.popen(command, cwd=frappe_app_path, env=get_node_env(), raise_err=True)
File “/home/decor/frappe-bench/apps/frappe/frappe/commands/init.py”, line 97, in popen
raise subprocess.CalledProcessError(return, command)
subprocess.CalledProcessError: Command ‘yarn run production --apps lending --run-build-command’ returned non-zero exit status 1.
ERROR: bench build --app lending
subprocess.CalledProcessError: Command ‘bench build --app lending’ returned non-zero exit status 1.
The above exception was the direct cause of the following exception: