0

I am trying to create a gutenberg block scaffolding but this command is not working for some reason. I am running the below command and receiving the below message. How do I fix this? Node and npx are installed. I am confused as I do not have a period in my command.

npx @wordpress/create-block gcb-test-block

Message the terminal shows me:

Unexpected token .

isherwood
  • 58,414
  • 16
  • 114
  • 157
WPdev11
  • 59
  • 3
  • 1
    There's obviously more to the story than what you've shown us. Please revise to provide more context for your problem. – isherwood Mar 28 '23 at 20:40
  • What version of node are you using? – S.Walsh Mar 30 '23 at 03:56
  • 1
    likely outdated version of node (https://stackoverflow.com/questions/74070868/creating-custom-gutenberg-block-gives-unexpected-token) – Will Mar 30 '23 at 18:42

0 Answers0