質問編集履歴
1
画面に出てるコード全部貼りました
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,11 +2,13 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
+
teratail初心者です^^よろしくお願いします。
|
6
|
+
|
5
7
|
Windowsの仮想環境でubuntuを使っています。
|
6
8
|
|
7
|
-
今回Reactのアプリを作りたくてnpx create-react-app chatbo
|
9
|
+
今回Reactのアプリを作りたくてnpx create-react-app chatbotnanoと実行すると以下のようにエラーメッセージが出てしまいます。
|
8
10
|
|
9
|
-
|
11
|
+
作られたchatbotnanoを開いてみるとyarn-error.logというフォルダーしかありません;
|
10
12
|
|
11
13
|
|
12
14
|
|
@@ -16,7 +18,81 @@
|
|
16
18
|
|
17
19
|
```
|
18
20
|
|
19
|
-
|
21
|
+
tatsuki@LAPTOP-EHPO02FM:~/IdeaProjects$ npx create-react-app chatbotnano
|
22
|
+
|
23
|
+
^[[A^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[D^[[Bnpm ERR! code ECONNREFUSED
|
24
|
+
|
25
|
+
npm ERR! errno ECONNREFUSED
|
26
|
+
|
27
|
+
npm ERR! FetchError: request to https://registry.npmjs.org/create-react-app failed, reason: connect ECONNREFUSED 104.16.18.35:443
|
28
|
+
|
29
|
+
npm ERR! at ClientRequest.req.on.err (/usr/share/npm/node_modules/node-fetch-npm/src/index.js:68:14)
|
30
|
+
|
31
|
+
npm ERR! at ClientRequest.emit (events.js:198:13)
|
32
|
+
|
33
|
+
npm ERR! at TLSSocket.socketErrorListener (_http_client.js:401:9)
|
34
|
+
|
35
|
+
npm ERR! at TLSSocket.emit (events.js:198:13)
|
36
|
+
|
37
|
+
npm ERR! at emitErrorNT (internal/streams/destroy.js:91:8)
|
38
|
+
|
39
|
+
npm ERR! at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
|
40
|
+
|
41
|
+
npm ERR! at process._tickCallback (internal/process/next_tick.js:63:19)
|
42
|
+
|
43
|
+
npm ERR! { FetchError: request to https://registry.npmjs.org/create-react-app failed, reason: connect ECONNREFUSED 104.16.18.35:443
|
44
|
+
|
45
|
+
npm ERR! at ClientRequest.req.on.err (/usr/share/npm/node_modules/node-fetch-npm/src/index.js:68:14)
|
46
|
+
|
47
|
+
npm ERR! at ClientRequest.emit (events.js:198:13)
|
48
|
+
|
49
|
+
npm ERR! at TLSSocket.socketErrorListener (_http_client.js:401:9)
|
50
|
+
|
51
|
+
npm ERR! at TLSSocket.emit (events.js:198:13)
|
52
|
+
|
53
|
+
npm ERR! at emitErrorNT (internal/streams/destroy.js:91:8)
|
54
|
+
|
55
|
+
npm ERR! at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
|
56
|
+
|
57
|
+
npm ERR! at process._tickCallback (internal/process/next_tick.js:63:19)
|
58
|
+
|
59
|
+
npm ERR! message:
|
60
|
+
|
61
|
+
npm ERR! 'request to https://registry.npmjs.org/create-react-app failed, reason: connect ECONNREFUSED 104.16.18.35:443',
|
62
|
+
|
63
|
+
npm ERR! type: 'system',
|
64
|
+
|
65
|
+
npm ERR! errno: 'ECONNREFUSED',
|
66
|
+
|
67
|
+
npm ERR! code: 'ECONNREFUSED',
|
68
|
+
|
69
|
+
npm ERR! stack:
|
70
|
+
|
71
|
+
npm ERR! 'FetchError: request to https://registry.npmjs.org/create-react-app failed, reason: connect ECONNREFUSED 104.16.18.35:443\n at ClientRequest.req.on.err (/usr/share/npm/node_modules/node-fetch-npm/src/index.js:68:14)\n at ClientRequest.emit (events.js:198:13)\n at TLSSocket.socketErrorListener (_http_client.js:401:9)\n at TLSSocket.emit (events.js:198:13)\n at emitErrorNT (internal/streams/destroy.js:91:8)\n at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)\n at process._tickCallback (internal/process/next_tick.js:63:19)' }
|
72
|
+
|
73
|
+
npm ERR!
|
74
|
+
|
75
|
+
npm ERR! If you are behind a proxy, please make sure that the
|
76
|
+
|
77
|
+
npm ERR! 'proxy' config is set properly. See: 'npm help config'
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
npm ERR! A complete log of this run can be found in:
|
82
|
+
|
83
|
+
npm ERR! /home/tatsuki/.npm/_logs/2021-02-04T08_44_40_712Z-debug.log
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
Creating a new React app in /home/tatsuki/IdeaProjects/chatbotnano.
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
Installing packages. This might take a couple of minutes.
|
92
|
+
|
93
|
+
Installing react, react-dom, and react-scripts with cra-template...
|
94
|
+
|
95
|
+
|
20
96
|
|
21
97
|
yarn add v1.22.5
|
22
98
|
|
@@ -24,11 +100,23 @@
|
|
24
100
|
|
25
101
|
error An unexpected error occurred: "https://registry.yarnpkg.com/react: connect ECONNREFUSED 104.16.24.35:443".
|
26
102
|
|
27
|
-
info If you think this is a bug, please open a bug report with the information provided in "/home/tatsuki/IdeaProjects/chatbo
|
103
|
+
info If you think this is a bug, please open a bug report with the information provided in "/home/tatsuki/IdeaProjects/chatbotnano/yarn-error.log".
|
28
104
|
|
29
105
|
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
|
30
106
|
|
107
|
+
|
108
|
+
|
109
|
+
Aborting installation.
|
110
|
+
|
31
|
-
|
111
|
+
yarnpkg add --exact react react-dom react-scripts cra-template --cwd /home/tatsuki/IdeaProjects/chatbotnano has failed.
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
Deleting generated file... package.json
|
116
|
+
|
117
|
+
Deleting generated file... yarn.lock
|
118
|
+
|
119
|
+
Done.
|
32
120
|
|
33
121
|
```
|
34
122
|
|
@@ -50,9 +138,7 @@
|
|
50
138
|
|
51
139
|
|
52
140
|
|
53
|
-
検索
|
141
|
+
検索してはいろいろなコードを試しました(-_-;)
|
54
|
-
|
55
|
-
どんなコードを打ったか覚えてません(-_-;)ごめんなさい
|
56
142
|
|
57
143
|
|
58
144
|
|