安装时各种错误

npm install -g hexo-cli
sudo npm install -g hexo-cli
node -version
node --v
nodejs -v
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
sudo npm install -g hexo-cli
nvm install stable
npm install -g hexo-cli
hexo
hexo init weiyanwu
cd weiyanwu
npm install
hexo new "First"
hexo server
hexo generate
hexo deploy
npm install hexo-deployer-git –save
npm install hexo-deployer-git --save
hexo deploy
hexo deploy

bogon:weiyanwu zerotech$ npm -v
5.0.3
bogon:weiyanwu zerotech$ node -v
v8.1.3
bogon:weiyanwu zerotech$ hexo -v
(node:2024) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.
hexo: 3.3.7
hexo-cli: 1.0.3
os: Darwin 16.6.0 darwin x64
http_parser: 2.7.0
node: 8.1.3
v8: 5.8.283.41
uv: 1.12.0
zlib: 1.2.11
ares: 1.10.1-DEV
modules: 57
openssl: 1.0.2l
icu: 59.1
unicode: 9.0
cldr: 31.0.1
tz: 2017b

Last login: Wed Jul 5 08:39:00 on console
bogon:~ zerotech$ cd /Users/zerotech/web
bogon:web zerotech$ npm install -g hexo-cli
npm ERR! path ../lib/node_modules/hexo-cli/bin/hexo
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall symlink
npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/hexo-cli/bin/hexo' -> '/usr/local/bin/hexo'
npm ERR! { Error: EACCES: permission denied, symlink '../lib/node_modules/hexo-cli/bin/hexo' -> '/usr/local/bin/hexo'
npm ERR! cause:
npm ERR! { Error: EACCES: permission denied, symlink '../lib/node_modules/hexo-cli/bin/hexo' -> '/usr/local/bin/hexo'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'symlink',
npm ERR! path: '../lib/node_modules/hexo-cli/bin/hexo',
npm ERR! dest: '/usr/local/bin/hexo' },
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'symlink',
npm ERR! path: '../lib/node_modules/hexo-cli/bin/hexo',
npm ERR! dest: '/usr/local/bin/hexo' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zerotech/.npm/_logs/2017-07-05T01_13_03_015Z-debug.log
bogon:web zerotech$ sudo npm install -g hexo-cli
Password:
/usr/local/bin/hexo -> /usr/local/lib/node_modules/hexo-cli/bin/hexo

[email protected] install /usr/local/lib/node_modules/hexo-cli/node_modules/fsevents
node install

[fsevents] Success: "/usr/local/lib/node_modules/hexo-cli/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

[email protected] install /usr/local/lib/node_modules/hexo-cli/node_modules/dtrace-provider
node scripts/install.js

fs.js:771
return binding.rename(pathModule._makeLong(oldPath),
^

Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/hexo-cli/node_modules/dtrace-provider/compile.py' -> '/usr/local/lib/node_modules/hexo-cli/node_modules/dtrace-provider/binding.gyp'
at Object.fs.renameSync (fs.js:771:18)
at Object. (/usr/local/lib/node_modules/hexo-cli/node_modules/dtrace-provider/scripts/install.js:14:4)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3

[email protected] postinstall /usr/local/lib/node_modules/hexo-cli/node_modules/hexo-util
npm run build:highlight

[email protected] build:highlight /usr/local/lib/node_modules/hexo-cli/node_modules/hexo-util
node scripts/build_highlight_alias.js > highlight_alias.json

sh: highlight_alias.json: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:highlight: node scripts/build_highlight_alias.js > highlight_alias.json
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:highlight script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

┌─────────────────────────────────────────────────────────────┐
│ npm update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /Users/zerotech/.config │
└─────────────────────────────────────────────────────────────┘
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/hexo-cli/node_modules/dtrace-provider):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node scripts/install.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: npm run build:highlight
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zerotech/.npm/_logs/2017-07-05T01_13_49_228Z-debug.log
bogon:web zerotech$ node -version
node: bad option: -version
bogon:web zerotech$ node --v
node: bad option: --v
bogon:web zerotech$ nodejs -v
-bash: nodejs: command not found
bogon:web zerotech$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following existing directories will be made group writable:
/usr/local/bin
/usr/local/etc
==> The following existing directories will have their owner set to zerotech:
/usr/local/bin
/usr/local/etc
==> The following existing directories will have their group set to admin:
/usr/local/bin
/usr/local/etc
==> The following new directories will be created:
/usr/local/Cellar
/usr/local/Homebrew
/usr/local/Frameworks
/usr/local/opt
/usr/local/sbin
/usr/local/share/zsh
/usr/local/share/zsh/site-functions
/usr/local/var

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod u+rwx /usr/local/bin /usr/local/etc
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/bin /usr/local/etc
==> /usr/bin/sudo /usr/sbin/chown zerotech /usr/local/bin /usr/local/etc
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/bin /usr/local/etc
==> /usr/bin/sudo /bin/mkdir -p /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/opt /usr/local/sbin /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/opt /usr/local/sbin /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
==> /usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions
==> /usr/bin/sudo /usr/sbin/chown zerotech /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/opt /usr/local/sbin /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/opt /usr/local/sbin /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var
==> /usr/bin/sudo /bin/mkdir -p /Users/zerotech/Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Users/zerotech/Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown zerotech /Users/zerotech/Library/Caches/Homebrew
==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown zerotech /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Counting objects: 6534, done.
remote: Compressing objects: 100% (3954/3954), done.
remote: Total 6534 (delta 3821), reused 4280 (delta 2375), pack-reused 0
Receiving objects: 100% (6534/6534), 3.55 MiB | 42.00 KiB/s, done.
Resolving deltas: 100% (3821/3821), done.
From https://github.com/Homebrew/brew

  • [new branch] master -> origin/master
  • [new tag] 0.1 -> 0.1
  • [new tag] 0.2 -> 0.2
  • [new tag] 0.3 -> 0.3
  • [new tag] 0.4 -> 0.4
  • [new tag] 0.5 -> 0.5
  • [new tag] 0.6 -> 0.6
  • [new tag] 0.7 -> 0.7
  • [new tag] 0.7.1 -> 0.7.1
  • [new tag] 0.8 -> 0.8
  • [new tag] 0.8.1 -> 0.8.1
  • [new tag] 0.9 -> 0.9
  • [new tag] 0.9.1 -> 0.9.1
  • [new tag] 0.9.2 -> 0.9.2
  • [new tag] 0.9.3 -> 0.9.3
  • [new tag] 0.9.4 -> 0.9.4
  • [new tag] 0.9.5 -> 0.9.5
  • [new tag] 0.9.8 -> 0.9.8
  • [new tag] 0.9.9 -> 0.9.9
  • [new tag] 1.0.0 -> 1.0.0
  • [new tag] 1.0.1 -> 1.0.1
  • [new tag] 1.0.2 -> 1.0.2
  • [new tag] 1.0.3 -> 1.0.3
  • [new tag] 1.0.4 -> 1.0.4
  • [new tag] 1.0.5 -> 1.0.5
  • [new tag] 1.0.6 -> 1.0.6
  • [new tag] 1.0.7 -> 1.0.7
  • [new tag] 1.0.8 -> 1.0.8
  • [new tag] 1.0.9 -> 1.0.9
  • [new tag] 1.1.0 -> 1.1.0
  • [new tag] 1.1.1 -> 1.1.1
  • [new tag] 1.1.10 -> 1.1.10
  • [new tag] 1.1.11 -> 1.1.11
  • [new tag] 1.1.12 -> 1.1.12
  • [new tag] 1.1.13 -> 1.1.13
  • [new tag] 1.1.2 -> 1.1.2
  • [new tag] 1.1.3 -> 1.1.3
  • [new tag] 1.1.4 -> 1.1.4
  • [new tag] 1.1.5 -> 1.1.5
  • [new tag] 1.1.6 -> 1.1.6
  • [new tag] 1.1.7 -> 1.1.7
  • [new tag] 1.1.8 -> 1.1.8
  • [new tag] 1.1.9 -> 1.1.9
  • [new tag] 1.2.0 -> 1.2.0
  • [new tag] 1.2.1 -> 1.2.1
  • [new tag] 1.2.2 -> 1.2.2
  • [new tag] 1.2.3 -> 1.2.3
  • [new tag] 1.2.4 -> 1.2.4
    HEAD is now at b552908 Merge pull request #2851 from MikeMcQuaid/missing-formula-no-core
    ==> Tapping homebrew/core
    Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
    remote: Counting objects: 4465, done.
    remote: Compressing objects: 100% (4260/4260), done.
    remote: Total 4465 (delta 35), reused 464 (delta 13), pack-reused 0
    Receiving objects: 100% (4465/4465), 3.54 MiB | 132.00 KiB/s, done.
    Resolving deltas: 100% (35/35), done.
    Tapped 4258 formulae (4,509 files, 11MB)
    ==> Cleaning up /Library/Caches/Homebrew...
    ==> Migrating /Library/Caches/Homebrew to /Users/zerotech/Library/Caches/Homebrew...
    ==> Deleting /Library/Caches/Homebrew...
    Already up-to-date.
    ==> Installation successful!

==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
http://docs.brew.sh/Analytics.html

==> Next steps:

  • Run brew help to get started
  • Further documentation:
    http://docs.brew.sh
    bogon:web zerotech$ $ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
    -bash: $: command not found
    bogon:web zerotech$
    bogon:web zerotech$ sudo npm install -g hexo-cli
    Password:
    /usr/local/bin/hexo -> /usr/local/lib/node_modules/hexo-cli/bin/hexo

[email protected] install /usr/local/lib/node_modules/hexo-cli/node_modules/fsevents
node install

[fsevents] Success: "/usr/local/lib/node_modules/hexo-cli/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

[email protected] install /usr/local/lib/node_modules/hexo-cli/node_modules/dtrace-provider
node scripts/install.js

fs.js:771
return binding.rename(pathModule._makeLong(oldPath),
^

Error: EACCES: permission denied, rename '/usr/local/lib/node_modules/hexo-cli/node_modules/dtrace-provider/compile.py' -> '/usr/local/lib/node_modules/hexo-cli/node_modules/dtrace-provider/binding.gyp'
at Object.fs.renameSync (fs.js:771:18)
at Object. (/usr/local/lib/node_modules/hexo-cli/node_modules/dtrace-provider/scripts/install.js:14:4)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3

[email protected] postinstall /usr/local/lib/node_modules/hexo-cli/node_modules/hexo-util
npm run build:highlight

[email protected] build:highlight /usr/local/lib/node_modules/hexo-cli/node_modules/hexo-util
node scripts/build_highlight_alias.js > highlight_alias.json

sh: highlight_alias.json: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:highlight: node scripts/build_highlight_alias.js > highlight_alias.json
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:highlight script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

┌─────────────────────────────────────────────────────────────┐
│ npm update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /Users/zerotech/.config │
└─────────────────────────────────────────────────────────────┘
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/hexo-cli/node_modules/dtrace-provider):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node scripts/install.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: npm run build:highlight
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zerotech/.npm/_logs/2017-07-05T01_21_47_692Z-debug.log
bogon:web zerotech$ nvm install stable
-bash: nvm: command not found
bogon:web zerotech$
bogon:web zerotech$ npm install -g hexo-cli
/usr/local/bin/hexo -> /usr/local/lib/node_modules/hexo-cli/bin/hexo

[email protected] install /usr/local/lib/node_modules/hexo-cli/node_modules/fsevents
node install

[fsevents] Success: "/usr/local/lib/node_modules/hexo-cli/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

[email protected] install /usr/local/lib/node_modules/hexo-cli/node_modules/dtrace-provider
node scripts/install.js

[email protected] postinstall /usr/local/lib/node_modules/hexo-cli/node_modules/hexo-util
npm run build:highlight

[email protected] build:highlight /usr/local/lib/node_modules/hexo-cli/node_modules/hexo-util
node scripts/build_highlight_alias.js > highlight_alias.json

Commands:
help Get help on a command.
init Create a new Hexo folder.
version Display version information.

Global Options:
--config Specify config file instead of using _config.yml
--cwd Specify the CWD
--debug Display all verbose messages in the terminal
--draft Display draft posts
--safe Disable all plugins and scripts
--silent Hide output on console

For more help, you can use 'hexo help [command]' for the detailed information
or you can check the docs: http://hexo.io/docs/
bogon:web zerotech$ hexo init weiyanwu
INFO Cloning hexo-starter to ~/web/weiyanwu
Cloning into '/Users/zerotech/web/weiyanwu'...
remote: Counting objects: 53, done.
remote: Total 53 (delta 0), reused 0 (delta 0), pack-reused 53
Unpacking objects: 100% (53/53), done.
Submodule 'themes/landscape' (https://github.com/hexojs/hexo-theme-landscape.git) registered for path 'themes/landscape'
Cloning into '/Users/zerotech/web/weiyanwu/themes/landscape'...
remote: Counting objects: 785, done.
remote: Total 785 (delta 0), reused 0 (delta 0), pack-reused 785
Receiving objects: 100% (785/785), 2.54 MiB | 41.00 KiB/s, done.
Resolving deltas: 100% (404/404), done.
Submodule path 'themes/landscape': checked out 'decdc2d9956776cbe95420ae94bac87e22468d38'
INFO Install dependencies
npm WARN deprecated [email protected]: This package is no longer maintained
npm WARN prefer global [email protected] should be installed with -g

[email protected] install /Users/zerotech/web/weiyanwu/node_modules/fsevents
node install

[fsevents] Success: "/Users/zerotech/web/weiyanwu/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

[email protected] install /Users/zerotech/web/weiyanwu/node_modules/dtrace-provider
node scripts/install.js

[email protected] postinstall /Users/zerotech/web/weiyanwu/node_modules/hexo-util
npm run build:highlight

[email protected] build:highlight /Users/zerotech/web/weiyanwu/node_modules/hexo-util
node scripts/build_highlight_alias.js > highlight_alias.json

npm notice created a lockfile as package-lock.json. You should commit this file.
added 433 packages in 38.976s
INFO Start blogging with Hexo!
bogon:web zerotech$ cd weiyanwu
bogon:weiyanwu zerotech$ npm install
up to date in 1.431s
bogon:weiyanwu zerotech$ hexo new "First"
(node:1974) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.
INFO Created: ~/web/weiyanwu/source/_posts/First.md
bogon:weiyanwu zerotech$ hexo server
(node:1978) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.
INFO Start processing
INFO Hexo is running at http://localhost:4000/. Press Ctrl+C to stop.
^CINFO Farewell
bogon:weiyanwu zerotech$ hexo generate
(node:1981) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.
INFO Start processing
INFO Files loaded in 203 ms
INFO Generated: index.html
INFO Generated: archives/index.html
INFO Generated: fancybox/blank.gif
INFO Generated: fancybox/jquery.fancybox.css
INFO Generated: fancybox/jquery.fancybox.js
INFO Generated: fancybox/jquery.fancybox.pack.js
INFO Generated: fancybox/[email protected]
INFO Generated: fancybox/fancybox_sprite.png
INFO Generated: fancybox/fancybox_loading.gif
INFO Generated: fancybox/fancybox_overlay.png
INFO Generated: fancybox/[email protected]
INFO Generated: archives/2017/07/index.html
INFO Generated: archives/2017/index.html
INFO Generated: css/fonts/FontAwesome.otf
INFO Generated: fancybox/helpers/jquery.fancybox-buttons.css
INFO Generated: js/script.js
INFO Generated: fancybox/helpers/jquery.fancybox-buttons.js
INFO Generated: fancybox/helpers/jquery.fancybox-media.js
INFO Generated: css/style.css
INFO Generated: css/fonts/fontawesome-webfont.eot
INFO Generated: fancybox/helpers/jquery.fancybox-thumbs.css
INFO Generated: fancybox/helpers/fancybox_buttons.png
INFO Generated: css/fonts/fontawesome-webfont.woff
INFO Generated: fancybox/helpers/jquery.fancybox-thumbs.js
INFO Generated: css/images/banner.jpg
INFO Generated: css/fonts/fontawesome-webfont.svg
INFO Generated: css/fonts/fontawesome-webfont.ttf
INFO Generated: 2017/07/05/First/index.html
INFO Generated: 2017/07/05/hello-world/index.html
INFO 29 files generated in 679 ms
bogon:weiyanwu zerotech$ hexo deploy
(node:1985) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.
ERROR Deployer not found: git
bogon:weiyanwu zerotech$ npm install hexo-deployer-git –save
Unhandled rejection Error: Invalid tag name "–save": Tags may not have any characters that encodeURIComponent encodes.
at invalidTagName (/usr/local/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:76:15)
at fromRegistry (/usr/local/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:265:13)
at resolve (/usr/local/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:66:12)
at npa (/usr/local/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:39:10)
at /usr/local/lib/node_modules/npm/lib/install/deps.js:200:16
at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:35
at Array.forEach (native)
at /usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:11
at Array.forEach (native)
at asyncMap (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:51:8)
at exports.getAllMetadata (/usr/local/lib/node_modules/npm/lib/install/deps.js:199:3)
at Installer.loadArgMetadata (/usr/local/lib/node_modules/npm/lib/install.js:325:3)
at /usr/local/lib/node_modules/npm/lib/install.js:648:16
at BB.join.then (/usr/local/lib/node_modules/npm/lib/install/read-shrinkwrap.js:41:16)
at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/zerotech/.npm/_logs/2017-07-05T01_30_46_015Z-debug.log
bogon:weiyanwu zerotech$ npm install hexo-deployer-git --save

  • [email protected]
    added 2 packages in 3.31s
    bogon:weiyanwu zerotech$ hexo deploy
    (node:1990) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.
    INFO Deploying: git
    INFO Setting up Git deployment...
    Initialized empty Git repository in /Users/zerotech/web/weiyanwu/.deploy_git/.git/
    [master (root-commit) f404139] First commit
    1 file changed, 0 insertions(+), 0 deletions(-)
    create mode 100644 placeholder
    INFO Clearing .deploy_git folder...
    INFO Copying files from public folder...
    INFO Copying files from extend dirs...
    [master a657fbe] Site updated: 2017-07-05 09:31:18
    30 files changed, 6073 insertions(+)
    create mode 100644 2017/07/05/First/index.html
    create mode 100644 2017/07/05/hello-world/index.html
    create mode 100644 archives/2017/07/index.html
    create mode 100644 archives/2017/index.html
    create mode 100644 archives/index.html
    create mode 100644 css/fonts/FontAwesome.otf
    create mode 100644 css/fonts/fontawesome-webfont.eot
    create mode 100644 css/fonts/fontawesome-webfont.svg
    create mode 100644 css/fonts/fontawesome-webfont.ttf
    create mode 100644 css/fonts/fontawesome-webfont.woff
    create mode 100644 css/images/banner.jpg
    create mode 100644 css/style.css
    create mode 100644 fancybox/blank.gif
    create mode 100644 fancybox/fancybox_loading.gif
    create mode 100644 fancybox/[email protected]
    create mode 100644 fancybox/fancybox_overlay.png
    create mode 100644 fancybox/fancybox_sprite.png
    create mode 100644 fancybox/[email protected]
    create mode 100644 fancybox/helpers/fancybox_buttons.png
    create mode 100644 fancybox/helpers/jquery.fancybox-buttons.css
    create mode 100644 fancybox/helpers/jquery.fancybox-buttons.js
    create mode 100644 fancybox/helpers/jquery.fancybox-media.js
    create mode 100644 fancybox/helpers/jquery.fancybox-thumbs.css
    create mode 100644 fancybox/helpers/jquery.fancybox-thumbs.js
    create mode 100644 fancybox/jquery.fancybox.css
    create mode 100644 fancybox/jquery.fancybox.js
    create mode 100644 fancybox/jquery.fancybox.pack.js
    create mode 100644 index.html
    create mode 100644 js/script.js
    delete mode 100644 placeholder
    Username for 'https://github.com': [email protected]
    Password for 'https://[email protected]@github.com':
    To https://github.com/wyw1984/weiyanwu1984.github.io.git
  • [new branch] HEAD -> master
    Branch master set up to track remote branch master from https://github.com/wyw1984/weiyanwu1984.github.io.git.
    INFO Deploy done: git
    bogon:weiyanwu zerotech$ hexo deploy
    (node:2009) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.
    INFO Deploying: git
    INFO Clearing .deploy_git folder...
    INFO Copying files from public folder...
    INFO Copying files from extend dirs...
    On branch master
    nothing to commit, working tree clean
    To https://github.com/wyw1984/wyw1984.github.io.git
  • 338098d...a657fbe HEAD -> master (forced update)
    Branch master set up to track remote branch master from https://github.com/wyw1984/wyw1984.github.io.git.
    INFO Deploy done: git
    bogon:weiyanwu zerotech$ npm -v
    5.0.3
    bogon:weiyanwu zerotech$ node -v
    v8.1.3
    bogon:weiyanwu zerotech$ hexo -v
    (node:2024) [DEP0061] DeprecationWarning: fs.SyncWriteStream is deprecated.
    hexo: 3.3.7
    hexo-cli: 1.0.3
    os: Darwin 16.6.0 darwin x64
    http_parser: 2.7.0
    node: 8.1.3
    v8: 5.8.283.41
    uv: 1.12.0
    zlib: 1.2.11
    ares: 1.10.1-DEV
    modules: 57
    openssl: 1.0.2l
    icu: 59.1
    unicode: 9.0
    cldr: 31.0.1
    tz: 2017b
    bogon:weiyanwu zerotech$ npm install hexo-deployer-git --savenpm install hexo-deployer-git --save

你可能感兴趣的:(安装时各种错误)