Getting Error While setting up Volto frontend for Volto hands on Training

Getting latest Volto version
Using latest released Volto version: 17.10.0
Retrieving Volto's yarn.lock
:heavy_multiplication_x: An error occured while running @plone/volto:app#prompting
Error @plone/volto

TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type string ('ETIMEDOUT')
at process.set [as exitCode] (node:internal/bootstrap/node:123:9)
at process.exit (node:internal/process/per_thread:187:24)
at onError (/usr/local/lib/node_modules/yo/lib/cli.js:117:11)
at /usr/local/lib/node_modules/yo/lib/cli.js:168:54
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async init (/usr/local/lib/node_modules/yo/lib/cli.js:168:5)
at async pre (/usr/local/lib/node_modules/yo/lib/cli.js:83:3)
at async /usr/local/lib/node_modules/yo/lib/cli.js:193:3

update Now I am getting this error :Getting latest Volto version
:heavy_multiplication_x: An error occured while running @plone/volto:app#prompting
Error @plone/volto

undefined

No one knows the steps you took to get that stack trace, so how is it possible that anyone can reproduce the issue, much less help you? Here's how to ask for support.

  • What do you expect to happen?
  • What steps did you take? Include the terminal session commands you issued and a link to the documentation you followed.
  • What did you observe? Include complete tracebacks and error messages as text, surrounded by triple backticks (```).

I was following Volto Hands on Training
first command I run : npm install -g yo @plone/generator-volto
second command : yo @plone/volto

After running second command I get this Error.

Yeah ! I have done it Please ask All new contributers to Downgrade their Nodejs v to 18 otherwise they will get these type of Error at many points. Also follow this volto/packages/generator-volto at main · plone/volto · GitHub guide to bootstrape Volto Project.