質問編集履歴

7

さらなる改善

2016/06/04 13:24

投稿

cheeeeeeese
cheeeeeeese

スコア179

test CHANGED
File without changes
test CHANGED
@@ -171,3 +171,63 @@
171
171
  「Mac OS X NPM install probem "-bash : npm: command not found"」
172
172
 
173
173
  https://github.com/npm/npm/issues/3125
174
+
175
+
176
+
177
+ ####で、以下の改善策を発見
178
+
179
+
180
+
181
+ ```
182
+
183
+ $ brew update
184
+
185
+ $ brew uninstall node
186
+
187
+ $ brew install node
188
+
189
+ $ sudo brew postinstall node
190
+
191
+ ```
192
+
193
+ ####改善せず、、、が、これかなという改善策を発見
194
+
195
+ ```
196
+
197
+ Error: The `brew link` step did not complete successfully
198
+
199
+ それで
200
+
201
+ already exists. You may want to remove it:
202
+
203
+ をしろと言われる。
204
+
205
+ ```
206
+
207
+
208
+
209
+ ####改善せず、次の課題を発見
210
+
211
+ ```
212
+
213
+ Warning: The post-install step did not complete successfully
214
+
215
+ You can try again using `brew postinstall node`
216
+
217
+ ```
218
+
219
+ どうやら「リンク」ができていないから、「node」は呼び出せても、「npm」が呼び出せない
220
+
221
+ よという結果になるとのこと。
222
+
223
+
224
+
225
+ ```
226
+
227
+ Warning: node-6.2.1 already installed, it's just not linked
228
+
229
+ ```
230
+
231
+ nodeはあるけど、「brew postinstall node」しないと、リンクできんぜ!ということ。
232
+
233
+ だから、npmできんぜ!ということ。

6

nodeは存在することが判明!\(なんか楽しくなってきた\)

2016/06/04 13:24

投稿

cheeeeeeese
cheeeeeeese

スコア179

test CHANGED
File without changes
test CHANGED
@@ -88,6 +88,16 @@
88
88
 
89
89
  v4.4.5
90
90
 
91
+
92
+
93
+ $ which node
94
+
95
+ /usr/local/bin/node
96
+
97
+
98
+
99
+
100
+
91
101
  ```
92
102
 
93
103
 

5

さらなる改善を求めて

2016/06/04 12:14

投稿

cheeeeeeese
cheeeeeeese

スコア179

test CHANGED
File without changes
test CHANGED
@@ -153,3 +153,11 @@
153
153
 
154
154
 
155
155
  だめでした。次はどうしようかな。
156
+
157
+
158
+
159
+ ####似た現象を発見!!
160
+
161
+ 「Mac OS X NPM install probem "-bash : npm: command not found"」
162
+
163
+ https://github.com/npm/npm/issues/3125

4

結果の報告、改善は起きず

2016/06/04 12:09

投稿

cheeeeeeese
cheeeeeeese

スコア179

test CHANGED
File without changes
test CHANGED
@@ -136,6 +136,20 @@
136
136
 
137
137
 
138
138
 
139
+ ....
140
+
141
+
142
+
143
+ $ npm -v
144
+
145
+ -bash: npm: command not found
146
+
147
+
148
+
149
+
150
+
139
151
  ```
140
152
 
153
+
154
+
141
- の場合、できているで良いの??
155
+ だめでした。次どうしような。

3

git cloneの結果の追加

2016/06/04 12:05

投稿

cheeeeeeese
cheeeeeeese

スコア179

test CHANGED
File without changes
test CHANGED
@@ -111,3 +111,31 @@
111
111
  $ git clone https://github.com/npm/npm.git
112
112
 
113
113
  ```
114
+
115
+
116
+
117
+ 結果
118
+
119
+ ```
120
+
121
+ git clone https://github.com/npm/npm.git
122
+
123
+ Cloning into 'npm'...
124
+
125
+ remote: Counting objects: 56932, done.
126
+
127
+ remote: Compressing objects: 100% (2/2), done.
128
+
129
+ remote: Total 56932 (delta 1), reused 0 (delta 0), pack-reused 56930
130
+
131
+ Receiving objects: 100% (56932/56932), 30.53 MiB | 598.00 KiB/s, done.
132
+
133
+ Resolving deltas: 100% (30871/30871), done.
134
+
135
+ Checking connectivity... done.
136
+
137
+
138
+
139
+ ```
140
+
141
+ の場合は、できているで良いのか??

2

git cloneの追加

2016/06/04 12:03

投稿

cheeeeeeese
cheeeeeeese

スコア179

test CHANGED
File without changes
test CHANGED
@@ -101,3 +101,13 @@
101
101
 
102
102
 
103
103
  https://github.com/npm/npm
104
+
105
+
106
+
107
+ なのでgit cloneをしてみました
108
+
109
+ ```
110
+
111
+ $ git clone https://github.com/npm/npm.git
112
+
113
+ ```

1

確認事項を増やしました

2016/06/04 12:02

投稿

cheeeeeeese
cheeeeeeese

スコア179

test CHANGED
File without changes
test CHANGED
@@ -89,3 +89,15 @@
89
89
  v4.4.5
90
90
 
91
91
  ```
92
+
93
+
94
+
95
+ ####Githubでの確認
96
+
97
+ Githubで見る限りmacの場合はNodeを入れればそれについていくると書いています。
98
+
99
+ が、存在しないと言われている。という状態です
100
+
101
+
102
+
103
+ https://github.com/npm/npm