Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #57353


Ignore:
Timestamp:
12/19/2022 10:29:27 AM (3 years ago)
Author:
sabernhardt
Comment:

Hi and welcome to Trac!

Help requests usually belong in the Fixing WordPress support forum (or you could use the equivalent Japanese forum).

The create-block documentation page indicates that it should work with a space. However, the developer note uses an equal sign:

npx @wordpress/create-block custom-block --variant=dynamic

You may want to try that first.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57353

    • Property Keywords close added
    • Property Component changed from General to Editor
  • Ticket #57353 – Description

    initial v2  
    1 こんにちは!私はブロックを作成するためにnpx @wordpress/create-block miho-dynamic --variant dynamicと入力しましたが、ターミナルは「エラー:不明なオプション '--variant'」と表示します。 この問題に対する解決方法をご存知ですか? ありがとうございます:).
     1Hello! I want to create a block
     2{{{
     3npx @wordpress/create-block miho-dynamic --variant dynamic
     4}}}
     5to create a block, but the terminal says
     6{{{
     7Error: unknown option '--variant'
     8}}}
     9
     10Do you know how to solve this problem? Thank you :).
     11
     12Original:
     13> こんにちは!私はブロックを作成するためにnpx @wordpress/create-block miho-dynamic --variant dynamicと入力しましたが、ターミナルは「エラー:不明なオプション '--variant'」と表示します。 この問題に対する解決方法をご存知ですか? ありがとうございます:).