Quantcast
Channel: モンキーレンチ
Viewing all articles
Browse latest Browse all 235

Gutenberg をクローンしてビルド・動作確認する手順のメモ

$
0
0
$ git clone ...
	- https で clone するとコケる
		- fetch-pack: unexpected disconnect while reading sideband packet
	- GitHub に公開鍵を登録する
	- ~/.ssh/known_hosts に GitHub の情報を追加する
	- ssh で clone する
$ volta install node@v16
	- node は 16 が必須
	- 上記は node の管理に volta を使っている場合
$ npm install
$ npm run wp-env start
	- http://localhost:8889/
	- ID: admin / PW: password
$ npm start
	- なぜか Desktop では失敗した(パスにスペースが入っていたから?)
		- "Incorrect published types for パス"
	- とりあえず別のディレクトリで実行する

Viewing all articles
Browse latest Browse all 235

Trending Articles