質問編集履歴

2

追記

2021/06/10 23:19

投稿

ryoasa
ryoasa

スコア0

test CHANGED
File without changes
test CHANGED
@@ -29,3 +29,101 @@
29
29
  環境はawsです。
30
30
 
31
31
  宜しくお願いします。
32
+
33
+
34
+
35
+
36
+
37
+ 追記です。
38
+
39
+ 最初に@wordpress/create-block ryochanと入力した際、
40
+
41
+ 下記エラーが出ておりました。
42
+
43
+ ディレクトリエラーかなと思いますが修正方法ご教示頂ければ幸いです。
44
+
45
+ 宜しくお願いします。
46
+
47
+
48
+
49
+ ```ここに言語を入力
50
+
51
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/caniuse-lite/data/features/css3-cursors-newer.js'
52
+
53
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/@wordpress/icons/build-module/library/html.js'
54
+
55
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/dayjs/esm/locale/lo.js'
56
+
57
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/lodash/_overArg.js'
58
+
59
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/caniuse-lite/data/features/css3-cursors.js'
60
+
61
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/@wordpress/icons/build/library/html.js'
62
+
63
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/dayjs/locale/lo.js'
64
+
65
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/lodash/_overRest.js'
66
+
67
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/caniuse-lite/data/features/css3-tabsize.js'
68
+
69
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/@wordpress/icons/src/library/html.js'
70
+
71
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/dayjs/plugin/localeData.js'
72
+
73
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/lodash/_parent.js'
74
+
75
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/caniuse-lite/data/regions/CU.js'
76
+
77
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/@wordpress/icons/build-module/library/image.js'
78
+
79
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/dayjs/plugin/localizedFormat.js'
80
+
81
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/lodash/_Promise.js'
82
+
83
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/caniuse-lite/data/features/currentcolor.js'
84
+
85
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/@wordpress/icons/build/library/image.js'
86
+
87
+
88
+
89
+
90
+
91
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/dayjs/package.json'
92
+
93
+ npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/ubuntu/environment/ryochan/node_modules/dayjs/CHANGELOG.md'
94
+
95
+ npm ERR! cb() never called!
96
+
97
+
98
+
99
+ npm ERR! This is an error with npm itself. Please report this error at:
100
+
101
+ npm ERR! <https://github.com/npm/cli/issues>
102
+
103
+
104
+
105
+ npm ERR! A complete log of this run can be found in:
106
+
107
+ npm ERR! /home/ubuntu/.npm/_logs/2021-06-08T10_09_58_741Z-debug.log
108
+
109
+
110
+
111
+ Skipping "@wordpress/blocks" npm dependency. Reason:
112
+
113
+ Command failed with ENOENT: npm install @wordpress/blocks
114
+
115
+ spawn npm ENOENT
116
+
117
+
118
+
119
+ Skipping "@wordpress/i18n" npm dependency. Reason:
120
+
121
+ Command failed with ENOENT: npm install @wordpress/i18n
122
+
123
+ spawn npm ENOENT
124
+
125
+
126
+
127
+ Installing `@wordpress/scripts` package. It might take a couple of minutes...
128
+
129
+ ```

1

修正依頼を頂戴しておりました、ディレクトリ構造を添付しました。

2021/06/10 23:18

投稿

ryoasa
ryoasa

スコア0

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- wordpressのカスタムブロックを作成しようと考え、npm run buildを記入しましたが以下エラーが出ます。
1
+ ![イメージ説明](ab704b4d42d87f8b7616fecf06a5319c.png)wordpressのカスタムブロックを作成しようと考え、npm run buildを記入しましたが以下エラーが出ます。
2
2
 
3
3
  ```ここに言語を入力node.js
4
4