安装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 架构博客.就写了这个教程,给自己做个参 ...
随机推荐
- 程序自动化需要一个Windows服务
前段时间,写了一个SPC to SQL数据传输的小功能,用户不太想用手执行或有可能忘记操作.解决这个问题,Insus.NET原本是使用windows的任务管理执行的,但觉得并不太理想,因此又得写一个W ...
- python---信用卡ATM
一 需求 模拟实现一个ATM + 购物商城程序 额度 15000或自定义 实现购物商城,买东西加入 购物车,调用信用卡接口结账 可以提现,手续费5% 每月22号出账单,每月10号为还款日,过期未还, ...
- 小程序开发笔记【二】,抽奖结果json数据拼装bug解决
抽奖结果数据json格式数据拼接bug,如下图,只发布了两个奖项,每个奖项设置2个奖品,但最后拼接数据的时候出现3个奖项 json数据格式如下 "luckyResult":[ { ...
- Berkeley DB 使用经验总结
作者:陈磊 NoSQL是现在互联网Web2.0时代备受关注的技术之一,被用来存储大量的非关系型的数据.Berkeley DB作为一款优秀的Key/Value存储引擎自然也在讨论之列.最近使用BDB来发 ...
- Oracle复制表
Oracle复制表分为只复制表结构或者结构和数据均复制两种: 只复制表结构 create table newTableName as select * from oldTableName where ...
- P2446 [SDOI2010]大陆争霸
\(\color{#0066ff}{ 题目描述 }\) 幻想历8012年5月12日深夜,斯普林·布拉泽降下神谕:"Trust me, earn eternal life."克里斯军 ...
- DP【洛谷P2134】 百日旅行
[洛谷P2134] 百日旅行 题目背景 重要的不是去哪里,而是和你在一起.--小红 对小明和小红来说,2014年7月29日是一个美好的日子.这一天是他们相识100天的纪念日. (小明:小红,感谢你2场 ...
- Linq中DeferredLoadingEnabled,DataLoadOption的用法
1. 基本的数据关系图 Student和Class之间是多对一关系,Student和Course之间是多对多关系. DataContext的DeferredLoadingEnabled属性指定是否需 ...
- Luogu5324 BJOI2019删数(线段树)
考虑无修改怎么做.对于1~n的每个数,若其存在,将最后一个放在其值的位置,剩余在其前面依次排列,答案即为值域1~n上没有数的位置个数.带修改显然记一下偏移量线段树改一改就好了. #include< ...
- pytorch实现depthwise convolution
深度分离卷积是Xception这个模型中提出来的(不太确定,但肯定是它让这个概念为大众周知),具体来说分为两步,depthwise conv和pointwise conv,前者对输入特征图的每个通道进 ...