質問編集履歴
7
情報追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -143,3 +143,15 @@
|
|
143
143
|
/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/var/nodebrew/current/bin
|
144
144
|
|
145
145
|
```
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
which node-sassの実行結果
|
150
|
+
|
151
|
+
```
|
152
|
+
|
153
|
+
$ which node-sass
|
154
|
+
|
155
|
+
/usr/local/bin/node-sass
|
156
|
+
|
157
|
+
```
|
6
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -142,4 +142,4 @@
|
|
142
142
|
|
143
143
|
/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/var/nodebrew/current/bin
|
144
144
|
|
145
|
-
``
|
145
|
+
```
|
5
情報追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -131,3 +131,15 @@
|
|
131
131
|
updated 1 package in 9.887s
|
132
132
|
|
133
133
|
```
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
echo $PATHの実行結果
|
138
|
+
|
139
|
+
```
|
140
|
+
|
141
|
+
$ echo $PATH
|
142
|
+
|
143
|
+
/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/var/nodebrew/current/bin
|
144
|
+
|
145
|
+
``
|
4
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -124,7 +124,7 @@
|
|
124
124
|
|
125
125
|
Password:
|
126
126
|
|
127
|
-
/Users/xxx/.npm-global/bin/firebase -> /Users/
|
127
|
+
/Users/xxx/.npm-global/bin/firebase -> /Users/xxx/.npm-global/lib/node_modules/firebase-tools/bin/firebase
|
128
128
|
|
129
129
|
+ firebase-tools@3.18.4
|
130
130
|
|
3
再度インストールしてチェックしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -67,3 +67,67 @@
|
|
67
67
|
-bash
|
68
68
|
|
69
69
|
```
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
再度インストール(npm install -g firebase-tools実行)
|
74
|
+
|
75
|
+
```
|
76
|
+
|
77
|
+
$ npm install -g firebase-tools
|
78
|
+
|
79
|
+
npm WARN checkPermissions Missing write access to /Users/xxx/.npm-global/lib/node_modules/firebase-tools
|
80
|
+
|
81
|
+
npm WARN checkPermissions Missing write access to /Users/xxx/.npm-global/lib/node_modules
|
82
|
+
|
83
|
+
npm ERR! path /Users/xxx/.npm-global/lib/node_modules/firebase-tools
|
84
|
+
|
85
|
+
npm ERR! code EACCES
|
86
|
+
|
87
|
+
npm ERR! errno -13
|
88
|
+
|
89
|
+
npm ERR! syscall access
|
90
|
+
|
91
|
+
npm ERR! Error: EACCES: permission denied, access '/Users/xxx/.npm-global/lib/node_modules/firebase-tools'
|
92
|
+
|
93
|
+
npm ERR! { Error: EACCES: permission denied, access '/Users/xxx/.npm-global/lib/node_modules/firebase-tools'
|
94
|
+
|
95
|
+
npm ERR! stack: 'Error: EACCES: permission denied, access \'/Users/xxx/.npm-global/lib/node_modules/firebase-tools\'',
|
96
|
+
|
97
|
+
npm ERR! errno: -13,
|
98
|
+
|
99
|
+
npm ERR! code: 'EACCES',
|
100
|
+
|
101
|
+
npm ERR! syscall: 'access',
|
102
|
+
|
103
|
+
npm ERR! path: '/Users/xxx/.npm-global/lib/node_modules/firebase-tools' }
|
104
|
+
|
105
|
+
npm ERR!
|
106
|
+
|
107
|
+
npm ERR! Please try running this command again as root/Administrator.
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
npm ERR! A complete log of this run can be found in:
|
112
|
+
|
113
|
+
npm ERR! /Users/xxx/.npm/_logs/2018-04-20T07_18_28_030Z-debug.log
|
114
|
+
|
115
|
+
```
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
sudoをつけるとエラーなく処理が完了します。
|
120
|
+
|
121
|
+
```
|
122
|
+
|
123
|
+
$ sudo npm install -g firebase-tools
|
124
|
+
|
125
|
+
Password:
|
126
|
+
|
127
|
+
/Users/xxx/.npm-global/bin/firebase -> /Users/derfluegel/.npm-global/lib/node_modules/firebase-tools/bin/firebase
|
128
|
+
|
129
|
+
+ firebase-tools@3.18.4
|
130
|
+
|
131
|
+
updated 1 package in 9.887s
|
132
|
+
|
133
|
+
```
|
2
情報追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -55,3 +55,15 @@
|
|
55
55
|
何も出ませんでした。
|
56
56
|
|
57
57
|
```
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
echo $0の実行結果
|
62
|
+
|
63
|
+
```
|
64
|
+
|
65
|
+
$ echo $0
|
66
|
+
|
67
|
+
-bash
|
68
|
+
|
69
|
+
```
|
1
情報追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -29,3 +29,29 @@
|
|
29
29
|
情報不足かと思うのですが、何を提示したら良いのかも分からない為、その辺に踏まえて回答して頂けると幸いです。
|
30
30
|
|
31
31
|
宜しくお願い致します。
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
【追記】
|
36
|
+
|
37
|
+
npm get prefixの実行結果
|
38
|
+
|
39
|
+
```
|
40
|
+
|
41
|
+
$ npm get prefix
|
42
|
+
|
43
|
+
/Users/xxxxxx/.npm-global
|
44
|
+
|
45
|
+
```
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
which firebaseの実行結果
|
50
|
+
|
51
|
+
```
|
52
|
+
|
53
|
+
$ which firebase
|
54
|
+
|
55
|
+
何も出ませんでした。
|
56
|
+
|
57
|
+
```
|