目录: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

两种方式:

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

  

解决办法:

  1. 网上搜索:找到npm安装nodenode: Permission denied的问题
  1. Try setting the following NPM config options:
  1. npm config set user 0
  2. npm config set unsafe-perm true

 then try again ,OK!

完整如下:

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

  

  1.  
  1.  

安装Hexo遇到npm的问题的更多相关文章

  1. 在Windows下部署安装hexo

    由于hexo的文档里并没有一步步详细写出过程的细节,在Windows下又更麻烦,所以就很容易入坑. 安装 安装github for windows,msysgit 安装包: https://githu ...

  2. 安装hexo报错(npm WARN deprecated swig@1.4.2: This package is no longer maintained),已解决

    问题:在使用npm安装hexo时报错 $ npm install -g hexo npm WARN deprecated swig@1.4.2: This package is no longer m ...

  3. Ubuntu14.04LTS下安装Node.js&NPM以及个人博客hexo的初始化配置

    什么是hexo Hexo 是一款基于node 的静态博客网站生成器作者 :tommy351是一个台湾的在校大学生...相比其他的静态网页生成器而言有着,生成静态网页最快,插件丰富(已经移植了大量Oct ...

  4. ubuntu安装hexo博客

    ubuntu下安装hexo博客 一 安装git sudo apt-get install git 二 安装nodejs 官网下载linux安装包.tar.gz文件 解压 tar zxvf 这样变可以切 ...

  5. 用nodejs安装hexo,将hexo部署到github

    跌跌撞撞写这篇博文,希望下一篇可以好点 运行环境:最新版本的nodejs + git 安装好nodejs 和 git ,注册好github账号,新建仓库****.github.io(****为gith ...

  6. ubuntu15.04安装hexo

    首先吐槽一下npm淘宝源,貌似中国目前唯一一个npm源,现在不好用了,不知道是不是换了地址,在吐槽一下万恶的墙!你懂得. 好了,说点正儿八经的事儿. 之所以安装hexo也是为了创建自己的博客,我只说最 ...

  7. 个人建站&mac下安装hexo

    title: 个人建站&mac下安装hexo date: 2018-04-18 16:34:02 tags: [mac,blog,个人建站,markdown] --- 这两天使用了markdo ...

  8. 2016-3-1 安装Hexo过程中遇到的问题

      查找问题地址: http://hexo.io/docs/troubleshooting.html   1.通过npm安装hexo运行命令:sudo npm install -g hexo 出现这个 ...

  9. CentOS 下安装 Hexo 博客

    前言: 之前一直使用Wordpress架构作为博客网站架构,但是现在频频爆出漏洞.实在是不敢用也不想用了,然后群里面有小伙伴用的是 Github 搭建 Hexo 架构博客.就写了这个教程,给自己做个参 ...

随机推荐

  1. iTween插件使用

    itween插件 itween是一个动画库,作者创建它的目的就是最小的投入实现最大的产出.用它可以轻松实现各种动画,晃动,旋转,移动.褪色.上色.控制音频等. iTween原理: itween的核心是 ...

  2. 模拟使用zookeeper实现master选举

    1.模拟选举机器类 package com.karat.cn.zookeeperAchieveLock.zkclient; import java.io.Serializable; /** * 选举的 ...

  3. Ant junitreport with Maven

    大家可能都知道在Ant里可以使用junit和junitreport两个task来完成对测试结果生成HTML格式的报告. Maven里的Surefire-report的插件只能对Java测试报告支持的比 ...

  4. Mysql 在DOS窗口下的操作

    1.登录 (1)首先cd 进入mysql对应的安装目录 (2)再输入mysql -u root -p 2.重启 https://blog.csdn.net/u012385190/article/det ...

  5. [Android UI]View基础知识

    一.简介 在安卓中,View代表视图,是安卓中十分重要的一个概念,重要程度不亚于四大组件,用户每时每刻都在与View打交道,包括展示数据.事件传递等.因此,熟练掌握View的应用以及原理是Androi ...

  6. partial、struct、interface与C#和CLR的关系

    partial.struct.interface是C#编译器特有的,CLR对此一无所知.

  7. eval()解析json以及js中js数组、对象与json之间的转换

    http://www.cnblogs.com/myjavawork/articles/1979279.html https://www.cnblogs.com/coder-economy/p/6203 ...

  8. 查看当前linux有多少http连接数

    已采纳 1.查看apache当前并发访问数: #对比httpd.conf中MaxClients的数字差距多少.netstat -an | grep ESTABLISHED | wc -l 2.查看ht ...

  9. 12.标准标签库(JSTL)

    1.JSTL标签库安装 JSTL的概念: JSP标准标签库(JSP Standard Tag Library)是一个实现 Web 应用程序中常见的通用功能的定制标记库集功能包括迭代和条件判断.数据管理 ...

  10. Spring实现AOP

    转载: https://blog.csdn.net/tolcf/article/details/49133119 [框架][Spring]XML配置实现AOP拦截-切点:JdkRegexpMethod ...