安装时各种错误

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

fsevents@1.1.2 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

dtrace-provider@0.8.3 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.<anonymous> (/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

hexo-util@0.6.0 postinstall /usr/local/lib/node_modules/hexo-cli/node_modules/hexo-util
npm run build:highlight

hexo-util@0.6.0 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! hexo-util@0.6.0 build:highlight: node scripts/build_highlight_alias.js > highlight_alias.json
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hexo-util@0.6.0 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: dtrace-provider@0.8.3 (node_modules/hexo-cli/node_modules/dtrace-provider):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.8.3 install: node scripts/install.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hexo-util@0.6.0 postinstall: npm run build:highlight
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hexo-util@0.6.0 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:

fsevents@1.1.2 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

dtrace-provider@0.8.3 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.<anonymous> (/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

hexo-util@0.6.0 postinstall /usr/local/lib/node_modules/hexo-cli/node_modules/hexo-util
npm run build:highlight

hexo-util@0.6.0 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! hexo-util@0.6.0 build:highlight: node scripts/build_highlight_alias.js > highlight_alias.json
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hexo-util@0.6.0 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: dtrace-provider@0.8.3 (node_modules/hexo-cli/node_modules/dtrace-provider):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: dtrace-provider@0.8.3 install: node scripts/install.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! hexo-util@0.6.0 postinstall: npm run build:highlight
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hexo-util@0.6.0 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

fsevents@1.1.2 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

dtrace-provider@0.8.3 install /usr/local/lib/node_modules/hexo-cli/node_modules/dtrace-provider
node scripts/install.js

hexo-util@0.6.0 postinstall /usr/local/lib/node_modules/hexo-cli/node_modules/hexo-util
npm run build:highlight

hexo-util@0.6.0 build:highlight /usr/local/lib/node_modules/hexo-cli/node_modules/hexo-util
node scripts/build_highlight_alias.js > highlight_alias.json

  • hexo-cli@1.0.3
    added 218 packages in 18.563s
    bogon:web zerotech$ hexo
    Usage: hexo <command>

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 swig@1.4.2: This package is no longer maintained
npm WARN prefer global marked@0.3.6 should be installed with -g

fsevents@1.1.2 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

dtrace-provider@0.8.3 install /Users/zerotech/web/weiyanwu/node_modules/dtrace-provider
node scripts/install.js

hexo-util@0.6.0 postinstall /Users/zerotech/web/weiyanwu/node_modules/hexo-util
npm run build:highlight

hexo-util@0.6.0 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/fancybox_loading@2x.gif
INFO Generated: fancybox/fancybox_sprite.png
INFO Generated: fancybox/fancybox_loading.gif
INFO Generated: fancybox/fancybox_overlay.png
INFO Generated: fancybox/fancybox_sprite@2x.png
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

  • hexo-deployer-git@0.3.0
    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/fancybox_loading@2x.gif
    create mode 100644 fancybox/fancybox_overlay.png
    create mode 100644 fancybox/fancybox_sprite.png
    create mode 100644 fancybox/fancybox_sprite@2x.png
    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': 2126724184@qq.com
    Password for 'https://2126724184@qq.com@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
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 162,475评论 4 372
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 68,744评论 2 307
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 112,101评论 0 254
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 44,732评论 0 221
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 53,141评论 3 297
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 41,049评论 1 226
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 32,188评论 2 320
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 30,965评论 0 213
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 34,716评论 1 250
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 30,867评论 2 254
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 32,341评论 1 265
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 28,663评论 3 263
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 33,376评论 3 244
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 26,200评论 0 8
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 26,990评论 0 201
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 36,179评论 2 285
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 35,979评论 2 279

推荐阅读更多精彩内容