質問編集履歴
1
エラーログ追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
解決策を調べておりますが、未だ解決できないため質問させていただきます。
|
2
2
|
|
3
3
|
[環境]
|
4
|
+
PC MacOS
|
5
|
+
仮想環境
|
6
|
+
VirtualBox
|
4
7
|
CentOS 7
|
5
8
|
PHP 7.4
|
6
9
|
Laravel 6
|
@@ -24,6 +27,21 @@
|
|
24
27
|
npm ERR! /root/.npm/_logs/2020-10-15T01_35_58_692Z-debug.log
|
25
28
|
```
|
26
29
|
|
30
|
+
追記エラーログ
|
31
|
+
```
|
32
|
+
[root@localhost _logs]# tail 2020-10-15T01_35_58_692Z-debug.log
|
33
|
+
19427 verbose argv "/usr/bin/node" "/usr/bin/npm" "install"
|
34
|
+
19428 verbose node v12.19.0
|
35
|
+
19429 verbose npm v6.14.8
|
36
|
+
19430 error code ENOENT
|
37
|
+
19431 error syscall open
|
38
|
+
19432 error path /usr/share/nginx/html/memAdmin/node_modules/yargs/node_modules/color-convert/package.json.3808272053
|
39
|
+
19433 error errno -2
|
40
|
+
19434 error enoent ENOENT: no such file or directory, open '/usr/share/nginx/html/memAdmin/node_modules/yargs/node_modules/color-convert/package.json.3808272053'
|
41
|
+
19435 error enoent This is related to npm not being able to find a file.
|
42
|
+
19436 verbose exit [ -2, true ]
|
43
|
+
```
|
44
|
+
|
27
45
|
[試したこと]
|
28
46
|
・Node.jsをアンインストールし、再インストール
|
29
47
|
・node -v と npm -v でバージョン確認
|