質問編集履歴
1
訂正
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
worker_threads
|
1
|
+
worker_threadsのinstall方法
|
test
CHANGED
@@ -1,95 +1,41 @@
|
|
1
|
-
### 前提・実現したいこと
|
2
|
-
|
3
|
-
コンパイルが通らなくなったので、原因らしいworker_threadsをインストールしたいのですが、インストール元が見つかりません。
|
4
|
-
|
5
|
-
お手上げなのでどなたか助けてほしいです。。
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
### 発生している問題・エラーメッセージ
|
10
|
-
|
11
|
-
コンパイルが通らなくなった
|
12
|
-
|
13
|
-
|
14
|
-
|
15
1
|
```
|
16
|
-
|
17
2
|
WARNING Compiled with 1 warnings
|
18
|
-
|
19
|
-
|
20
3
|
|
21
4
|
This dependency was not found:
|
22
5
|
|
23
|
-
|
24
|
-
|
25
6
|
* worker_threads in ./node_modules/write-file-atomic/index.js
|
26
7
|
|
27
|
-
|
28
|
-
|
29
8
|
To install it, you can run: npm install --save worker_threads
|
30
|
-
|
31
9
|
```
|
32
10
|
|
33
|
-
|
34
|
-
|
35
|
-
worker_threadsがないら
|
11
|
+
worker_threadsがないと怒られてた
|
36
|
-
|
37
|
-
|
38
|
-
|
39
12
|
|
40
13
|
|
41
14
|
### 試したこと
|
42
15
|
|
43
|
-
|
44
|
-
|
45
16
|
言われたとおり `npm install --save worker_threads` すると
|
46
17
|
|
47
|
-
|
18
|
+
```
|
19
|
+
npm ERR! code E404
|
20
|
+
npm ERR! 404 Not Found - GET https://registry.npmjs.org/worker_threads - Not found
|
21
|
+
npm ERR! 404
|
22
|
+
npm ERR! 404 'worker_threads@latest' is not in the npm registry.
|
23
|
+
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
|
24
|
+
npm ERR! 404
|
25
|
+
npm ERR! 404 Note that you can also install from a
|
26
|
+
npm ERR! 404 tarball, folder, http url, or git url.
|
48
27
|
|
49
28
|
```
|
50
29
|
|
51
|
-
npm ERR! code E404
|
52
|
-
|
53
|
-
npm ERR! 404 Not Found - GET https://registry.npmjs.org/worker_threads - Not found
|
54
|
-
|
55
|
-
npm ERR! 404
|
56
|
-
|
57
|
-
npm ERR! 404 'worker_threads@latest' is not in the npm registry.
|
58
|
-
|
59
|
-
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
|
60
|
-
|
61
|
-
npm ERR! 404
|
62
|
-
|
63
|
-
npm ERR! 404 Note that you can also install from a
|
64
|
-
|
65
|
-
npm ERR! 404 tarball, folder, http url, or git url.
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
```
|
70
|
-
|
71
|
-
|
72
|
-
|
73
30
|
となる。
|
74
|
-
|
75
31
|
https://registry.npmjs.org/worker_threads
|
76
|
-
|
77
32
|
のレジストリにはworker_threadsがないらしい。
|
78
|
-
|
79
|
-
|
80
33
|
|
81
34
|
worker_threadsのinstall元となるURLを探しまくったが全く見つからないため、どうしたらいいものかと思っています。
|
82
35
|
|
83
|
-
|
84
|
-
|
85
36
|
### 補足情報(FW/ツールのバージョンなど)
|
86
|
-
|
87
37
|
node -v
|
88
|
-
|
89
38
|
v12.3.1
|
90
39
|
|
91
|
-
|
92
|
-
|
93
40
|
npm -v
|
94
|
-
|
95
41
|
6.10.1
|