首页 > 其他 > 详细

安装Hexo遇到npm的问题

时间:2014-02-11 08:55:57      阅读:428      评论:0      收藏:0      [点我收藏+]

目录:1.安装git、nvm、node.js

2.安装Hexo遇到npm的问题-及解决办法

3.初步安装完成Hexo

============================

安装git、nvm、node.js

要安装hexo,根据官网文档进行安装:http://zespia.tw/hexo/docs/index.html

1. install git

先update一下:sudo apt-get update

再 安装git: sudo apt-get install git-core

2.install node.js

两种方式:

curl https://raw.github.com/creationix/nvm/master/install.sh | sh
wget -qO- https://raw.github.com/creationix/nvm/master/install.sh | sh

安装:
nvm install 0.10
这样就安装完成了 nvm 和 node.js
============================
安装Hexo遇到npm的问题-及解决办法

1.安装Hexo,提示错误:
1
sh: 1: node: Permission denied<br>具体如下:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
root@xxxxxxxxxxx:~# npm install -g hexo
npm http GET http://registry.cnpmjs.org/hexo
npm http 304 http://registry.cnpmjs.org/hexo
npm http GET http://registry.cnpmjs.org/ejs/0.8.5
npm http GET http://registry.cnpmjs.org/express/3.4.7
npm http GET http://registry.cnpmjs.org/stylus/0.42.0
npm http GET http://registry.cnpmjs.org/nib/1.0.2
npm http GET http://registry.cnpmjs.org/marked/0.3.0
npm http GET http://registry.cnpmjs.org/moment/2.5.0
npm http GET http://registry.cnpmjs.org/colors/0.6.2
npm http GET http://registry.cnpmjs.org/highlight.js/8.0.0
npm http GET http://registry.cnpmjs.org/yamljs/0.1.4
npm http GET http://registry.cnpmjs.org/lodash/2.4.1
npm http GET http://registry.cnpmjs.org/swig/1.2.2
npm http GET http://registry.cnpmjs.org/graceful-fs/2.0.1
npm http GET http://registry.cnpmjs.org/optimist/0.6.0
npm http GET http://registry.cnpmjs.org/warehouse/0.1.12
npm http GET http://registry.cnpmjs.org/sprintf-js/0.0.7
npm http GET http://registry.cnpmjs.org/chokidar/0.8.1
npm http GET http://registry.cnpmjs.org/async/0.2.9
npm http 304 http://registry.cnpmjs.org/stylus/0.42.0
npm http 304 http://registry.cnpmjs.org/nib/1.0.2
npm http 304 http://registry.cnpmjs.org/ejs/0.8.5
npm http 304 http://registry.cnpmjs.org/express/3.4.7
npm http 304 http://registry.cnpmjs.org/moment/2.5.0
npm http 304 http://registry.cnpmjs.org/colors/0.6.2
npm http 304 http://registry.cnpmjs.org/yamljs/0.1.4
npm http 304 http://registry.cnpmjs.org/highlight.js/8.0.0
npm http 304 http://registry.cnpmjs.org/lodash/2.4.1
npm http 304 http://registry.cnpmjs.org/swig/1.2.2
npm http 304 http://registry.cnpmjs.org/graceful-fs/2.0.1
npm http 304 http://registry.cnpmjs.org/optimist/0.6.0
npm http 304 http://registry.cnpmjs.org/warehouse/0.1.12
npm http 304 http://registry.cnpmjs.org/sprintf-js/0.0.7
npm http 304 http://registry.cnpmjs.org/chokidar/0.8.1
npm http 304 http://registry.cnpmjs.org/async/0.2.9
npm http 304 http://registry.cnpmjs.org/marked/0.3.0
 
> chokidar@0.8.1 postinstall /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/chokidar
> node setup-deps.js
 
sh: 1: node: Permission denied
npm ERR! error rolling back Error: ENOTEMPTY, rmdir ‘/root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/stylus/lib‘
npm ERR! error rolling back  hexo@2.4.5 { [Error: ENOTEMPTY, rmdir ‘/root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/stylus/lib‘]
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: ‘ENOTEMPTY‘,
npm ERR! error rolling back   path: ‘/root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/stylus/lib‘ }
npm ERR! chokidar@0.8.1 postinstall: `node setup-deps.js`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the chokidar@0.8.1 postinstall script.
npm ERR! This is most likely a problem with the chokidar package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node setup-deps.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls chokidar
npm ERR! There is likely additional logging output above.
 
npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/root/.nvm/v0.10.25/bin/node" "/root/.nvm/v0.10.25/bin/npm" "install" "-g" "hexo"
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! code ELIFECYCLE
npm ERR! Error: ENOENT, lstat ‘/root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/ejs/lib/ejs.js‘
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/isaacs/npm/issues>
 
npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/root/.nvm/v0.10.25/bin/node" "/root/.nvm/v0.10.25/bin/npm" "install" "-g" "hexo"
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/ejs/lib/ejs.js
npm ERR! fstream_path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/ejs/lib/ejs.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /root/.nvm/v0.10.25/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, chown ‘/root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/highlight.js/lib/languages/lisp.js‘
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/isaacs/npm/issues>
 
npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/root/.nvm/v0.10.25/bin/node" "/root/.nvm/v0.10.25/bin/npm" "install" "-g" "hexo"
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/highlight.js/lib/languages/lisp.js
npm ERR! fstream_path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/highlight.js/lib/languages/lisp.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! fstream_finish_call chown
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /root/.nvm/v0.10.25/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19
npm ERR! fstream_stack /root/.nvm/v0.10.25/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:133:7
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat ‘/root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/warehouse/lib/util.js‘
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/isaacs/npm/issues>
 
npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/root/.nvm/v0.10.25/bin/node" "/root/.nvm/v0.10.25/bin/npm" "install" "-g" "hexo"
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/warehouse/lib/util.js
npm ERR! fstream_path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/warehouse/lib/util.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /root/.nvm/v0.10.25/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat ‘/root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/optimist/readme.markdown‘
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/isaacs/npm/issues>
 
npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/root/.nvm/v0.10.25/bin/node" "/root/.nvm/v0.10.25/bin/npm" "install" "-g" "hexo"
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/optimist/readme.markdown
npm ERR! fstream_path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/optimist/readme.markdown
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /root/.nvm/v0.10.25/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat ‘/root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/moment/moment.js‘
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/isaacs/npm/issues>
 
npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/root/.nvm/v0.10.25/bin/node" "/root/.nvm/v0.10.25/bin/npm" "install" "-g" "hexo"
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/moment/moment.js
npm ERR! fstream_path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/moment/moment.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /root/.nvm/v0.10.25/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat ‘/root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/yamljs/bin/yaml.min.js‘
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/isaacs/npm/issues>
 
npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/root/.nvm/v0.10.25/bin/node" "/root/.nvm/v0.10.25/bin/npm" "install" "-g" "hexo"
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/yamljs/bin/yaml.min.js
npm ERR! fstream_path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/yamljs/bin/yaml.min.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /root/.nvm/v0.10.25/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat ‘/root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/nib/iconic/iconic_stroke.otf‘
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/isaacs/npm/issues>
 
npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/root/.nvm/v0.10.25/bin/node" "/root/.nvm/v0.10.25/bin/npm" "install" "-g" "hexo"
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/nib/iconic/iconic_stroke.otf
npm ERR! fstream_path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/nib/iconic/iconic_stroke.otf
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /root/.nvm/v0.10.25/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat ‘/root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/swig/dist/swig.js‘
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/isaacs/npm/issues>
 
npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/root/.nvm/v0.10.25/bin/node" "/root/.nvm/v0.10.25/bin/npm" "install" "-g" "hexo"
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/swig/dist/swig.js
npm ERR! fstream_path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/swig/dist/swig.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /root/.nvm/v0.10.25/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! Error: ENOENT, lstat ‘/root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/lodash/lodash.js‘
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/isaacs/npm/issues>
 
npm ERR! System Linux 3.5.0-17-generic
npm ERR! command "/root/.nvm/v0.10.25/bin/node" "/root/.nvm/v0.10.25/bin/npm" "install" "-g" "hexo"
npm ERR! cwd /root
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/lodash/lodash.js
npm ERR! fstream_path /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/lodash/lodash.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack /root/.nvm/v0.10.25/lib/node_modules/npm/node_modules/fstream/lib/writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /root/npm-debug.log
npm ERR! not ok code 0
root@xxxxxxxxxxx:~#

  

解决办法:

网上搜索:找到npm安装node包node: Permission denied的问题

Try setting the following NPM config options:
1
2
npm config set user 0
npm config set unsafe-perm true

 then try again ,OK!

完整如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
root@xxxxxxxxxx:~# sudo nvm install 0.10
sudo: nvm: command not found
root@xxxxxxxxxx:~# wget -qO- https://raw.github.com/creationix/nvm/master/install.sh | sh
=> NVM is already installed in /root/.nvm, trying to update
=>
Already up-to-date.
 
=> Source string already in /root/.bash_profile
=> Close and reopen your terminal to start using NVM
You have new mail in /var/mail/root
root@xxxxxxxxxx:~# sudo nvm install 0.10                                       sudo: nvm: command not found
root@xxxxxxxxxx:~# nvm install 0.10
######################################################################## 100.0%
Now using node v0.10.25
root@xxxxxxxxxx:~# npm config set user 0
root@xxxxxxxxxx:~# npm config set unsafe-perm true
root@xxxxxxxxxx:~# npm install -g hexo
npm http GET https://registry.npmjs.org/hexo
npm http 200 https://registry.npmjs.org/hexo
npm http GET https://registry.npmjs.org/hexo/-/hexo-2.4.5.tgz
npm http 200 https://registry.npmjs.org/hexo/-/hexo-2.4.5.tgz
npm http GET https://registry.npmjs.org/async/0.2.9
npm http GET https://registry.npmjs.org/express/3.4.7
npm http GET https://registry.npmjs.org/nib/1.0.2
npm http GET https://registry.npmjs.org/ejs/0.8.5
npm http GET https://registry.npmjs.org/stylus/0.42.0
npm http GET https://registry.npmjs.org/marked/0.3.0
npm http GET https://registry.npmjs.org/moment/2.5.0
npm http GET https://registry.npmjs.org/colors/0.6.2
npm http GET https://registry.npmjs.org/highlight.js/8.0.0
npm http GET https://registry.npmjs.org/yamljs/0.1.4
npm http GET https://registry.npmjs.org/lodash/2.4.1
npm http GET https://registry.npmjs.org/swig/1.2.2
npm http GET https://registry.npmjs.org/graceful-fs/2.0.1
npm http GET https://registry.npmjs.org/optimist/0.6.0
npm http GET https://registry.npmjs.org/warehouse/0.1.12
npm http GET https://registry.npmjs.org/sprintf-js/0.0.7
npm http GET https://registry.npmjs.org/chokidar/0.8.1
npm http 200 https://registry.npmjs.org/stylus/0.42.0
npm http 200 https://registry.npmjs.org/async/0.2.9
npm http GET https://registry.npmjs.org/stylus/-/stylus-0.42.0.tgz
npm http GET https://registry.npmjs.org/async/-/async-0.2.9.tgz
npm http 200 https://registry.npmjs.org/marked/0.3.0
npm http GET https://registry.npmjs.org/marked/-/marked-0.3.0.tgz
npm http 200 https://registry.npmjs.org/nib/1.0.2
npm http 200 https://registry.npmjs.org/express/3.4.7
npm http 200 https://registry.npmjs.org/ejs/0.8.5
npm http 200 https://registry.npmjs.org/async/-/async-0.2.9.tgz
npm http 200 https://registry.npmjs.org/highlight.js/8.0.0
npm http 200 https://registry.npmjs.org/lodash/2.4.1
npm http 200 https://registry.npmjs.org/yamljs/0.1.4
npm http 200 https://registry.npmjs.org/stylus/-/stylus-0.42.0.tgz
npm http 200 https://registry.npmjs.org/graceful-fs/2.0.1
npm http 200 https://registry.npmjs.org/marked/-/marked-0.3.0.tgz
npm http 200 https://registry.npmjs.org/moment/2.5.0
npm http 200 https://registry.npmjs.org/colors/0.6.2
npm http GET https://registry.npmjs.org/nib/-/nib-1.0.2.tgz
npm http GET https://registry.npmjs.org/express/-/express-3.4.7.tgz
npm http GET https://registry.npmjs.org/ejs/-/ejs-0.8.5.tgz
npm http 200 https://registry.npmjs.org/swig/1.2.2
npm http GET https://registry.npmjs.org/highlight.js/-/highlight.js-8.0.0.tgz
npm http GET https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
npm http 200 https://registry.npmjs.org/optimist/0.6.0
npm http GET https://registry.npmjs.org/yamljs/-/yamljs-0.1.4.tgz
npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.1.tgz
npm http 200 https://registry.npmjs.org/sprintf-js/0.0.7
npm http 200 https://registry.npmjs.org/chokidar/0.8.1
npm http 200 https://registry.npmjs.org/express/-/express-3.4.7.tgz
npm http 200 https://registry.npmjs.org/nib/-/nib-1.0.2.tgz
npm http GET https://registry.npmjs.org/moment/-/moment-2.5.0.tgz
npm http GET https://registry.npmjs.org/colors/-/colors-0.6.2.tgz
npm http 200 https://registry.npmjs.org/ejs/-/ejs-0.8.5.tgz
npm http 200 https://registry.npmjs.org/highlight.js/-/highlight.js-8.0.0.tgz
npm http 200 https://registry.npmjs.org/lodash/-/lodash-2.4.1.tgz
npm http 200 https://registry.npmjs.org/warehouse/0.1.12
npm http 200 https://registry.npmjs.org/yamljs/-/yamljs-0.1.4.tgz
npm http GET https://registry.npmjs.org/swig/-/swig-1.2.2.tgz
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.6.0.tgz
npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.1.tgz
npm http GET https://registry.npmjs.org/sprintf-js/-/sprintf-js-0.0.7.tgz
npm http GET https://registry.npmjs.org/chokidar/-/chokidar-0.8.1.tgz
npm http 200 https://registry.npmjs.org/moment/-/moment-2.5.0.tgz
npm http GET https://registry.npmjs.org/warehouse/-/warehouse-0.1.12.tgz
npm http 200 https://registry.npmjs.org/colors/-/colors-0.6.2.tgz
npm http 200 https://registry.npmjs.org/swig/-/swig-1.2.2.tgz
npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.6.0.tgz
npm http 200 https://registry.npmjs.org/sprintf-js/-/sprintf-js-0.0.7.tgz
npm http 200 https://registry.npmjs.org/chokidar/-/chokidar-0.8.1.tgz
npm http 200 https://registry.npmjs.org/warehouse/-/warehouse-0.1.12.tgz
 
> chokidar@0.8.1 postinstall /root/.nvm/v0.10.25/lib/node_modules/hexo/node_modules/chokidar
> node setup-deps.js
 
npm http GET https://registry.npmjs.org/lodash/2.2.1
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/minimist
npm http 200 https://registry.npmjs.org/lodash/2.2.1
npm http 200 https://registry.npmjs.org/minimist
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http GET https://registry.npmjs.org/mkdirp/0.3.5
npm http GET https://registry.npmjs.org/cookie/0.1.0
npm http GET https://registry.npmjs.org/buffer-crc32/0.2.1
npm http GET https://registry.npmjs.org/fresh/0.2.0
npm http GET https://registry.npmjs.org/methods/0.1.0
npm http GET https://registry.npmjs.org/send/0.1.4
npm http GET https://registry.npmjs.org/cookie-signature/1.0.1
npm http GET https://registry.npmjs.org/merge-descriptors/0.0.1
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/connect/2.12.0
npm http GET https://registry.npmjs.org/commander/1.3.2
npm http GET https://registry.npmjs.org/lodash/-/lodash-2.2.1.tgz
npm http GET https://registry.npmjs.org/minimist/-/minimist-0.0.7.tgz
npm http 200 https://registry.npmjs.org/range-parser/0.0.4
npm http 200 https://registry.npmjs.org/cookie/0.1.0
npm http 200 https://registry.npmjs.org/mkdirp/0.3.5
npm http 200 https://registry.npmjs.org/fresh/0.2.0
npm http 200 https://registry.npmjs.org/buffer-crc32/0.2.1
npm http 200 https://registry.npmjs.org/send/0.1.4
npm http 200 https://registry.npmjs.org/cookie-signature/1.0.1
npm http 200 https://registry.npmjs.org/connect/2.12.0
npm http 200 https://registry.npmjs.org/merge-descriptors/0.0.1
npm http 200 https://registry.npmjs.org/debug
npm http 200 https://registry.npmjs.org/minimist/-/minimist-0.0.7.tgz
npm http 200 https://registry.npmjs.org/methods/0.1.0
npm http 200 https://registry.npmjs.org/lodash/-/lodash-2.2.1.tgz
npm http GET https://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz
npm http GET https://registry.npmjs.org/cookie/-/cookie-0.1.0.tgz
npm http GET https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
npm http GET https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
npm http GET https://registry.npmjs.org/fresh/-/fresh-0.2.0.tgz
npm http GET https://registry.npmjs.org/send/-/send-0.1.4.tgz
npm http GET https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.1.tgz
npm http GET https://registry.npmjs.org/connect/-/connect-2.12.0.tgz
npm http GET https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.1.tgz
npm http 200 https://registry.npmjs.org/commander/1.3.2
npm http GET https://registry.npmjs.org/debug/-/debug-0.7.4.tgz
npm http GET https://registry.npmjs.org/methods/-/methods-0.1.0.tgz
npm http 200 https://registry.npmjs.org/fresh/-/fresh-0.2.0.tgz
npm http 200 https://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz
npm http 200 https://registry.npmjs.org/cookie/-/cookie-0.1.0.tgz
npm http 200 https://registry.npmjs.org/send/-/send-0.1.4.tgz
npm http 200 https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.1.tgz
npm http 200 https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
npm http 200 https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
npm http 200 https://registry.npmjs.org/connect/-/connect-2.12.0.tgz
npm http 200 https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.1.tgz
npm http 200 https://registry.npmjs.org/debug/-/debug-0.7.4.tgz
npm http 200 https://registry.npmjs.org/methods/-/methods-0.1.0.tgz
npm http GET https://registry.npmjs.org/commander/-/commander-1.3.2.tgz
npm http 200 https://registry.npmjs.org/commander/-/commander-1.3.2.tgz
npm http 200 https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz
npm http 200 https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz
npm http GET https://registry.npmjs.org/stylus
npm http GET https://registry.npmjs.org/argparse
npm http GET https://registry.npmjs.org/glob
npm http 200 https://registry.npmjs.org/stylus
npm http 200 https://registry.npmjs.org/argparse
npm http GET https://registry.npmjs.org/stylus/-/stylus-0.37.0.tgz
npm http GET https://registry.npmjs.org/argparse/-/argparse-0.1.15.tgz
npm http 200 https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/glob/-/glob-3.1.21.tgz
npm http 200 https://registry.npmjs.org/stylus/-/stylus-0.37.0.tgz
npm http 200 https://registry.npmjs.org/argparse/-/argparse-0.1.15.tgz
npm http 200 https://registry.npmjs.org/glob/-/glob-3.1.21.tgz
npm http GET https://registry.npmjs.org/uglify-js
npm http 200 https://registry.npmjs.org/uglify-js
npm http GET https://registry.npmjs.org/uglify-js/-/uglify-js-2.4.12.tgz
npm http 200 https://registry.npmjs.org/uglify-js/-/uglify-js-2.4.12.tgz
npm http GET https://registry.npmjs.org/css-parse
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/sax
npm http GET https://registry.npmjs.org/glob/-/glob-3.2.8.tgz
npm http 200 https://registry.npmjs.org/mkdirp
npm http 200 https://registry.npmjs.org/css-parse
npm http 200 https://registry.npmjs.org/glob/-/glob-3.2.8.tgz
npm http 200 https://registry.npmjs.org/sax
npm http GET https://registry.npmjs.org/css-parse/-/css-parse-1.7.0.tgz
npm http GET https://registry.npmjs.org/sax/-/sax-0.5.8.tgz
npm http 200 https://registry.npmjs.org/css-parse/-/css-parse-1.7.0.tgz
npm http 200 https://registry.npmjs.org/sax/-/sax-0.5.8.tgz
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/graceful-fs
npm http 200 https://registry.npmjs.org/inherits
npm http 200 https://registry.npmjs.org/graceful-fs
npm http GET https://registry.npmjs.org/inherits/-/inherits-1.0.0.tgz
npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz
npm http 200 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http 200 https://registry.npmjs.org/inherits/-/inherits-1.0.0.tgz
npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/underscore.string
npm http 200 https://registry.npmjs.org/underscore
npm http 200 https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz
npm http GET https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.3.tgz
npm http 200 https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz
npm http 200 https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.3.tgz
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/lru-cache
npm http 200 https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz
npm http GET https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz
npm http 200 https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/keypress
npm http 200 https://registry.npmjs.org/mime
npm http 200 https://registry.npmjs.org/keypress
npm http GET https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
npm http GET https://registry.npmjs.org/keypress/-/keypress-0.1.0.tgz
npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
npm http 200 https://registry.npmjs.org/keypress/-/keypress-0.1.0.tgz
npm http GET https://registry.npmjs.org/cssom
npm http 200 https://registry.npmjs.org/cssom
npm http GET https://registry.npmjs.org/cssom/-/cssom-0.2.5.tgz
npm http 200 https://registry.npmjs.org/cssom/-/cssom-0.2.5.tgz
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/source-map
npm http GET https://registry.npmjs.org/uglify-to-browserify
npm http 200 https://registry.npmjs.org/uglify-to-browserify
npm http GET https://registry.npmjs.org/bytes/0.2.1
npm http GET https://registry.npmjs.org/raw-body/1.1.2
npm http GET https://registry.npmjs.org/pause/0.0.1
npm http GET https://registry.npmjs.org/negotiator/0.3.0
npm http GET https://registry.npmjs.org/uid2/0.0.3
npm http GET https://registry.npmjs.org/multiparty/2.2.0
npm http GET https://registry.npmjs.org/batch/0.5.0
npm http GET https://registry.npmjs.org/qs/0.6.6
npm http 200 https://registry.npmjs.org/optimist
npm http 200 https://registry.npmjs.org/negotiator/0.3.0
npm http 200 https://registry.npmjs.org/uid2/0.0.3
npm http GET https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz
npm http 200 https://registry.npmjs.org/raw-body/1.1.2
npm http 200 https://registry.npmjs.org/pause/0.0.1
npm http 200 https://registry.npmjs.org/multiparty/2.2.0
npm http 200 https://registry.npmjs.org/bytes/0.2.1
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz
npm http GET https://registry.npmjs.org/negotiator/-/negotiator-0.3.0.tgz
npm http GET https://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz
npm http 200 https://registry.npmjs.org/batch/0.5.0
npm http 200 https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz
npm http GET https://registry.npmjs.org/raw-body/-/raw-body-1.1.2.tgz
npm http 200 https://registry.npmjs.org/qs/0.6.6
npm http GET https://registry.npmjs.org/pause/-/pause-0.0.1.tgz
npm http GET https://registry.npmjs.org/multiparty/-/multiparty-2.2.0.tgz
npm http GET https://registry.npmjs.org/bytes/-/bytes-0.2.1.tgz
npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.3.7.tgz
npm http 200 https://registry.npmjs.org/multiparty/-/multiparty-2.2.0.tgz
npm http 200 https://registry.npmjs.org/negotiator/-/negotiator-0.3.0.tgz
npm http 200 https://registry.npmjs.org/bytes/-/bytes-0.2.1.tgz
npm http 200 https://registry.npmjs.org/uid2/-/uid2-0.0.3.tgz
npm http 200 https://registry.npmjs.org/raw-body/-/raw-body-1.1.2.tgz
npm http GET https://registry.npmjs.org/batch/-/batch-0.5.0.tgz
npm http 200 https://registry.npmjs.org/pause/-/pause-0.0.1.tgz
npm http 200 https://registry.npmjs.org/source-map
npm http GET https://registry.npmjs.org/qs/-/qs-0.6.6.tgz
npm http 200 https://registry.npmjs.org/batch/-/batch-0.5.0.tgz
npm http GET https://registry.npmjs.org/source-map/-/source-map-0.1.31.tgz
npm http 200 https://registry.npmjs.org/qs/-/qs-0.6.6.tgz
npm http 200 https://registry.npmjs.org/source-map/-/source-map-0.1.31.tgz
npm http GET https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
npm http 200 https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
npm http GET https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/amdefine
npm http 200 https://registry.npmjs.org/amdefine
npm http GET https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm http 200 https://registry.npmjs.org/amdefine/-/amdefine-0.1.0.tgz
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/stream-counter
npm http 200 https://registry.npmjs.org/readable-stream
npm http 200 https://registry.npmjs.org/stream-counter
npm http GET https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.10.tgz
npm http GET https://registry.npmjs.org/stream-counter/-/stream-counter-0.2.0.tgz
npm http 200 https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.10.tgz
npm http 200 https://registry.npmjs.org/stream-counter/-/stream-counter-0.2.0.tgz
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/debuglog/0.0.2
npm http 200 https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz
npm http 200 https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.25.tgz
npm http 200 https://registry.npmjs.org/debuglog/0.0.2
npm http GET https://registry.npmjs.org/debuglog/-/debuglog-0.0.2.tgz
npm http 200 https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz
npm http 200 https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.25.tgz
npm http 200 https://registry.npmjs.org/debuglog/-/debuglog-0.0.2.tgz
/root/.nvm/v0.10.25/bin/hexo -> /root/.nvm/v0.10.25/lib/node_modules/hexo/bin/hexo
hexo@2.4.5 /root/.nvm/v0.10.25/lib/node_modules/hexo
鈹溾攢鈹€ graceful-fs@2.0.1
鈹溾攢鈹€ sprintf-js@0.0.7
鈹溾攢鈹€ colors@0.6.2
鈹溾攢鈹€ marked@0.3.0
鈹溾攢鈹€ async@0.2.9
鈹溾攢鈹€ chokidar@0.8.1
鈹溾攢鈹€ ejs@0.8.5
鈹溾攢鈹€ highlight.js@8.0.0
鈹溾攢鈹€ optimist@0.6.0 (wordwrap@0.0.2, minimist@0.0.7)
鈹溾攢鈹€ lodash@2.4.1
鈹溾攢鈹€ moment@2.5.0
鈹溾攢鈹€ stylus@0.42.0 (css-parse@1.7.0, debug@0.7.4, mkdirp@0.3.5, glob@3.2.8, sax@0.5.8)
鈹溾攢鈹€ warehouse@0.1.12 (lodash@2.2.1)
鈹溾攢鈹€ nib@1.0.2 (stylus@0.37.0)
鈹溾攢鈹€ yamljs@0.1.4 (glob@3.1.21, argparse@0.1.15)
鈹溾攢鈹€ swig@1.2.2 (uglify-js@2.4.12)
鈹斺攢鈹€ express@3.4.7 (methods@0.1.0, merge-descriptors@0.0.1, range-parser@0.0.4, cookie-signature@1.0.1, fresh@0.2.0, debug@0.7.4, buffer-crc32@0.2.1, cookie@0.1.0, mkdirp@0.3.5, commander@1.3.2, send@0.1.4, connect@2.12.0)
root@xxxxxxxxxx:~#

  

 


安装Hexo遇到npm的问题

原文:http://www.cnblogs.com/lidonghao/p/3543747.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!