質問するログイン新規登録

質問編集履歴

7

さらなる改善

2016/06/04 13:24

投稿

cheeeeeeese
cheeeeeeese

スコア179

title CHANGED
File without changes
body CHANGED
@@ -84,4 +84,34 @@
84
84
 
85
85
  ####似た現象を発見!!
86
86
  「Mac OS X NPM install probem "-bash : npm: command not found"」
87
- https://github.com/npm/npm/issues/3125
87
+ https://github.com/npm/npm/issues/3125
88
+
89
+ ####で、以下の改善策を発見
90
+
91
+ ```
92
+ $ brew update
93
+ $ brew uninstall node
94
+ $ brew install node
95
+ $ sudo brew postinstall node
96
+ ```
97
+ ####改善せず、、、が、これかなという改善策を発見
98
+ ```
99
+ Error: The `brew link` step did not complete successfully
100
+ それで
101
+ already exists. You may want to remove it:
102
+ をしろと言われる。
103
+ ```
104
+
105
+ ####改善せず、次の課題を発見
106
+ ```
107
+ Warning: The post-install step did not complete successfully
108
+ You can try again using `brew postinstall node`
109
+ ```
110
+ どうやら「リンク」ができていないから、「node」は呼び出せても、「npm」が呼び出せない
111
+ よという結果になるとのこと。
112
+
113
+ ```
114
+ Warning: node-6.2.1 already installed, it's just not linked
115
+ ```
116
+ nodeはあるけど、「brew postinstall node」しないと、リンクできんぜ!ということ。
117
+ だから、npmできんぜ!ということ。

6

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

2016/06/04 13:24

投稿

cheeeeeeese
cheeeeeeese

スコア179

title CHANGED
File without changes
body CHANGED
@@ -43,6 +43,11 @@
43
43
 
44
44
  $ node -v
45
45
  v4.4.5
46
+
47
+ $ which node
48
+ /usr/local/bin/node
49
+
50
+
46
51
  ```
47
52
 
48
53
  ####Githubでの確認

5

さらなる改善を求めて

2016/06/04 12:14

投稿

cheeeeeeese
cheeeeeeese

スコア179

title CHANGED
File without changes
body CHANGED
@@ -75,4 +75,8 @@
75
75
 
76
76
  ```
77
77
 
78
- だめでした。次はどうしようかな。
78
+ だめでした。次はどうしようかな。
79
+
80
+ ####似た現象を発見!!
81
+ 「Mac OS X NPM install probem "-bash : npm: command not found"」
82
+ https://github.com/npm/npm/issues/3125

4

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

2016/06/04 12:09

投稿

cheeeeeeese
cheeeeeeese

スコア179

title CHANGED
File without changes
body CHANGED
@@ -67,5 +67,12 @@
67
67
  Resolving deltas: 100% (30871/30871), done.
68
68
  Checking connectivity... done.
69
69
 
70
+ ....
71
+
72
+ $ npm -v
73
+ -bash: npm: command not found
74
+
75
+
70
76
  ```
77
+
71
- の場合は、きているで良いの??
78
+ だめした。次はどうしような。

3

git cloneの結果の追加

2016/06/04 12:05

投稿

cheeeeeeese
cheeeeeeese

スコア179

title CHANGED
File without changes
body CHANGED
@@ -54,4 +54,18 @@
54
54
  なのでgit cloneをしてみました
55
55
  ```
56
56
  $ git clone https://github.com/npm/npm.git
57
- ```
57
+ ```
58
+
59
+ 結果
60
+ ```
61
+ git clone https://github.com/npm/npm.git
62
+ Cloning into 'npm'...
63
+ remote: Counting objects: 56932, done.
64
+ remote: Compressing objects: 100% (2/2), done.
65
+ remote: Total 56932 (delta 1), reused 0 (delta 0), pack-reused 56930
66
+ Receiving objects: 100% (56932/56932), 30.53 MiB | 598.00 KiB/s, done.
67
+ Resolving deltas: 100% (30871/30871), done.
68
+ Checking connectivity... done.
69
+
70
+ ```
71
+ の場合は、できているで良いのか??

2

git cloneの追加

2016/06/04 12:03

投稿

cheeeeeeese
cheeeeeeese

スコア179

title CHANGED
File without changes
body CHANGED
@@ -49,4 +49,9 @@
49
49
  Githubで見る限りmacの場合はNodeを入れればそれについていくると書いています。
50
50
  が、存在しないと言われている。という状態です
51
51
 
52
- https://github.com/npm/npm
52
+ https://github.com/npm/npm
53
+
54
+ なのでgit cloneをしてみました
55
+ ```
56
+ $ git clone https://github.com/npm/npm.git
57
+ ```

1

確認事項を増やしました

2016/06/04 12:02

投稿

cheeeeeeese
cheeeeeeese

スコア179

title CHANGED
File without changes
body CHANGED
@@ -43,4 +43,10 @@
43
43
 
44
44
  $ node -v
45
45
  v4.4.5
46
- ```
46
+ ```
47
+
48
+ ####Githubでの確認
49
+ Githubで見る限りmacの場合はNodeを入れればそれについていくると書いています。
50
+ が、存在しないと言われている。という状態です
51
+
52
+ https://github.com/npm/npm