質問編集履歴
3
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
```
|
8
8
|
|
9
|
-
D:\project>npm i -g @aws-amplify
|
9
|
+
D:\project>npm i -g @aws-amplify/cli
|
10
10
|
|
11
11
|
```
|
12
12
|
|
2
表記修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
webサイトの認証にawsのamplifyを導入しようと、公式サイトからnpmを利用してWindows10にインストールしようとしたのですが、なぜかコマンドが認識しません。
|
2
2
|
|
3
3
|
インストール中、gypのエラーが出まくってましたが、なんか最終的にamplifyのインストールに成功したよみたいな文字列が返ってきているので大丈夫かと思いましたが、実行できませんでした。
|
4
|
+
|
5
|
+
#### インストール(グローバル)
|
6
|
+
|
7
|
+
```
|
8
|
+
|
9
|
+
D:\project>npm i -g @aws-amplify-cli
|
10
|
+
|
11
|
+
```
|
4
12
|
|
5
13
|
|
6
14
|
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
|
23
23
|
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
|
24
24
|
|
25
|
-
gyp ERR! cwd C:\Users\
|
25
|
+
gyp ERR! cwd C:\Users\username\AppData\Roaming\npm\node_modules\@aws-amplify\cli\node_modules\snappy
|
26
26
|
|
27
27
|
gyp ERR! node -v v10.16.0
|
28
28
|
|