Can not Create New App Please Help

i try to install in dev and production but same error

frappe@linuxu:~/frappe-bench$ sudo bench new-app swnwcare
App Title (default: Swnwcare):
App Description: ICU Management
App Publisher: xxxx
App Email: xxxxgmail.com
App Icon (default ‘octicon octicon-file-directory’):
App Color (default ‘grey’):
App License (default ‘MIT’):
‘swnwcare’ created at /home/frappe/frappe-bench/apps/swnwcare
Installing swnwcare
$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/swnwcare
$ bench build --app swnwcare
:heavy_check_mark: Application Assets Linked

yarn run v1.22.18
$ FRAPPE_ENV=production node rollup/build.js --app swnwcare
Production mode
:heavy_check_mark: Built js/moment-bundle.min.js
:heavy_check_mark: Built js/libs.min.js
Done in 0.94s.
$ supervisorctl restart frappe-bench-workers: frappe-bench-web:
frappe-bench-workers:frappe-bench-frappe-schedule: stopped
frappe-bench-workers:frappe-bench-frappe-default-worker-0: stopped
frappe-bench-workers:frappe-bench-frappe-short-worker-0: stopped
frappe-bench-workers:frappe-bench-frappe-long-worker-0: stopped
frappe-bench-web:frappe-bench-frappe-web: stopped
frappe-bench-workers:frappe-bench-frappe-schedule: started
frappe-bench-workers:frappe-bench-frappe-default-worker-0: started
frappe-bench-workers:frappe-bench-frappe-short-worker-0: started
frappe-bench-workers:frappe-bench-frappe-long-worker-0: started
frappe-bench-web:frappe-bench-frappe-web: started
frappe-bench-web:frappe-bench-node-socketio: ERROR (spawn error)
ERROR:
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
File “/usr/local/lib/python3.8/dist-packages/bench/cli.py”, line 121, in cli
raise e
File “/usr/local/lib/python3.8/dist-packages/bench/cli.py”, line 111, in cli
bench_command()
File “/usr/lib/python3/dist-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/usr/lib/python3/dist-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/usr/lib/python3/dist-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/lib/python3/dist-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/lib/python3/dist-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python3.8/dist-packages/bench/commands/make.py”, line 162, in new_app
new_app(app_name, no_git)
File “/usr/local/lib/python3.8/dist-packages/bench/app.py”, line 395, in new_app
install_app(app, bench_path=bench_path)
File “/usr/local/lib/python3.8/dist-packages/bench/app.py”, line 436, in install_app
bench.reload()
File “/usr/local/lib/python3.8/dist-packages/bench/utils/render.py”, line 110, in wrapper_fn
return fn(*args, **kwargs)
File “/usr/local/lib/python3.8/dist-packages/bench/bench.py”, line 142, in reload
restart_supervisor_processes(bench_path=self.name, web_workers=web)
File “/usr/local/lib/python3.8/dist-packages/bench/utils/bench.py”, line 280, in restart_supervisor_processes
bench.run(f"{sudo}supervisorctl restart {group}")
File “/usr/local/lib/python3.8/dist-packages/bench/bench.py”, line 43, in run
return exec_cmd(cmd, cwd=cwd or self.cwd)
File “/usr/local/lib/python3.8/dist-packages/bench/utils/init.py”, line 126, in exec_cmd
raise CommandFailedError
bench.exceptions.CommandFailedError

It may help to say the operating environment, versions of Bench and Frappe, and whether other apps have been successfully installed before this one. The error suggests a problem with socketio, maybe bench setup socketio will return something useful.

i try it but still error
i update bench
when i create site and set diff port then all port use only site port 80

Try: bench setup nginx and see if that assigns different ports for each site .

I try that and open each siteconfig file it ok and open nginx config.d and each site have right port every thing ok but when open host each port open only site which i install erpnext in it