安装Hexo遇到npm的问题
目录: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,提示错误:
sh: 1: node: Permission denied
具体如下:
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:
npm config set user 0
npm config set unsafe-perm true
then try again ,OK!
完整如下:
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的问题的更多相关文章
- 在Windows下部署安装hexo
由于hexo的文档里并没有一步步详细写出过程的细节,在Windows下又更麻烦,所以就很容易入坑. 安装 安装github for windows,msysgit 安装包: https://githu ...
- 安装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 ...
- Ubuntu14.04LTS下安装Node.js&NPM以及个人博客hexo的初始化配置
什么是hexo Hexo 是一款基于node 的静态博客网站生成器作者 :tommy351是一个台湾的在校大学生...相比其他的静态网页生成器而言有着,生成静态网页最快,插件丰富(已经移植了大量Oct ...
- ubuntu安装hexo博客
ubuntu下安装hexo博客 一 安装git sudo apt-get install git 二 安装nodejs 官网下载linux安装包.tar.gz文件 解压 tar zxvf 这样变可以切 ...
- 用nodejs安装hexo,将hexo部署到github
跌跌撞撞写这篇博文,希望下一篇可以好点 运行环境:最新版本的nodejs + git 安装好nodejs 和 git ,注册好github账号,新建仓库****.github.io(****为gith ...
- ubuntu15.04安装hexo
首先吐槽一下npm淘宝源,貌似中国目前唯一一个npm源,现在不好用了,不知道是不是换了地址,在吐槽一下万恶的墙!你懂得. 好了,说点正儿八经的事儿. 之所以安装hexo也是为了创建自己的博客,我只说最 ...
- 个人建站&mac下安装hexo
title: 个人建站&mac下安装hexo date: 2018-04-18 16:34:02 tags: [mac,blog,个人建站,markdown] --- 这两天使用了markdo ...
- 2016-3-1 安装Hexo过程中遇到的问题
查找问题地址: http://hexo.io/docs/troubleshooting.html 1.通过npm安装hexo运行命令:sudo npm install -g hexo 出现这个 ...
- CentOS 下安装 Hexo 博客
前言: 之前一直使用Wordpress架构作为博客网站架构,但是现在频频爆出漏洞.实在是不敢用也不想用了,然后群里面有小伙伴用的是 Github 搭建 Hexo 架构博客.就写了这个教程,给自己做个参 ...
随机推荐
- 内存不足导致的java.lang.OutOfMemoryError: java heap space引出java工程启动参数设置
今天做分类实验,生成了190m的kernel文件,在读到svm中的时候跳出了java.lang.OutOfMemoryError: java heap space异常.随便搜了一下,发现与eclips ...
- 说“DPI”
作者:马健邮箱:stronghorse_mj@hotmail.com发布:2007.03.08更新:2007.04.02 目录一.基本概念二.图像文件中的DPI三.PDG文件中的DPI四.PDF文件中 ...
- SPC-Light显示正常的日期与时间
SPC-Light的日期值与时间值显示正常的日期与时间.在读取到它的日期值: 得到的结果,如: 读取时间: 得到的结果如0.556678240740741. 要把它们显示正常的日期与时间格式.在VB. ...
- CHUI类
自定义控件程序运行流程 setNeedsLayOut和setNeedsDisplay区别 masonry使用技巧 1.普通展示 UILabel UIView UI控件的位置 U ...
- 使用Shader Graph实现《塞尔达传说:旷野之息》风格的着色器
https://mp.weixin.qq.com/s/19Xq6wYuXP0gQJDvC9Fh0g
- Python之‘’控制流‘’
一.if语句 格式: i1 = 3 if i1 > 4: print('yes you are right') elif 0 < i1 < 4: print('im dont kon ...
- (转)Jmeter参数化
设置参数值的方法有如下几种: 1. 用Jmeter中的函数获取参数值,__Random,__threadNum,__CSVRead,__StringFromFile,具体调用方法如下:${__Rand ...
- 关于Intel芯片架构的发展史
---恢复内容开始--- 当你真正的深入去行走在底层的道路上,你就会接触大量的一些貌似懂的概念性名词,比如Intel公司的x86架构,x64等等,又或者是当年的386,486等等,唉,有的时候真的是 ...
- arcgis打印服务
<script> function print1() { require([ "esri/map", ...
- Qt 学习之路 2(19):事件的接受与忽略
Home / Qt 学习之路 2 / Qt 学习之路 2(19):事件的接受与忽略 Qt 学习之路 2(19):事件的接受与忽略 豆子 2012年9月29日 Qt 学习之路 2 140条评论 ...