Facing issues while installing plone 6 via packages

I encountered this issue while installing plone 6 via packages and I am using WSL ubuntu .

Digest: sha256:2a160fcce882e02ff22927c5784d2b17d70cf4b6aba3ce9dc2cb2e92a4b875e5
Status: Downloaded newer image for plone/code-quality:2.0.2
^[[1;34m
============================
Starting plone-code-analysis
============================^[[0m
^[[1;34m
Running formatter: black
========================^[[0m
Traceback (most recent call last):
  File "/docker-entrypoint.py", line 70, in <module>
    status = ACTIONS[action](settings, tool, paths)
  File "/usr/local/lib/python3.10/site-packages/plone_code_analysis/format.py", line 58, in run_formatters
    status = run_formatter(formatter, paths) or status
  File "/usr/local/lib/python3.10/site-packages/plone_code_analysis/format.py", line 43, in run_formatter
    return func(args, paths=paths)
  File "/usr/local/lib/python3.10/site-packages/plone_code_analysis/cmd.py", line 25, in run_command
    all_args = cmd + args + paths
TypeError: can only concatenate list (not "str") to list
make: ** [Makefile:118: format] Error 1

above snippet is from plone_start_error.log
I not sure of this python traceback is my steup's fault?

Use https://github.com/collective/cookiecutter-plone-starter, worked for me! I had to downgrade to node v14.

well it still contains the step in which I am facing the issue .

Summary:
  - Plone version: 6.0.2
  - Volto version: 16.17.1
  - Volto Generator version: 6.3.0
  - Output folder: /mnt/c/users/admin/Documents/open_source/plone/project-title

Frontend codebase:
 - Installing @plone/generator-volto@6.3.0
 - Generate frontend application with @plone/volto 16.17.1

Backend codebase
 - Format generated code in the backend
There was an error, see /mnt/c/users/admin/Documents/open_source/plone/plone_starter_error.log for details
ERROR: Stopping generation because po
+ which python3
+ python3 -c 'import sys; print((int(sys.version_info[0]), int(sys.version_info[1])) >= tuple(map(int, '\''3.8'\''.split('\''.'\''))))'
+ dirname /mnt/c/users/admin/Documents/open_source/plone/project-title/backend/Makefile
++ tput setaf 2
++ tput sgr0
+ echo 'e[32m==> Format codebasee(Be[m'
+++ whoami
++ id -u aman
+++ whoami
++ cut -d: -f3
++ getent group aman
+ docker run --rm --user=1000:1000 -e LOG_LEVEL=INFO -v /mnt/c/users/admin/Documents/open_source/plone/project-title/backend:/github/workspace plone/code-quality:2.0.2 format
e[1;34m
============================
Starting plone-code-analysis
============================e[0m
e[1;34m
Running formatter: black
========================e[0m
Traceback (most recent call last):
  File "/docker-entrypoint.py", line 70, in <module>
    status = ACTIONS[action](settings, tool, paths)
  File "/usr/local/lib/python3.10/site-packages/plone_code_analysis/format.py", line 58, in run_formatters
    status = run_formatter(formatter, paths) or status
  File "/usr/local/lib/python3.10/site-packages/plone_code_analysis/format.py", line 43, in run_formatter
    return func(*args, paths=paths)
  File "/usr/local/lib/python3.10/site-packages/plone_code_analysis/cmd.py", line 25, in run_command
    all_args = cmd + args + paths
TypeError: can only concatenate list (not "str") to list
make: *** [Makefile:118: format] Error 1

plone_starter_error.log

What version of node are you using? Can you provide system details, so that I can try to recreate the issue?

I following this setup guide Install Plone from its packages – Install — Plone Documentation v6.0

using all the versions as it is (described in the guide) except python, which is 3.10.6