安裝時各種錯誤

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
最后編輯于
?著作權歸作者所有,轉載或內容合作請聯(lián)系作者
  • 序言:七十年代末谢翎,一起剝皮案震驚了整個濱河市叉钥,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌断序,老刑警劉巖铆惑,帶你破解...
    沈念sama閱讀 206,013評論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件利职,死亡現(xiàn)場離奇詭異,居然都是意外死亡糟红,警方通過查閱死者的電腦和手機手报,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,205評論 2 382
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來改化,“玉大人掩蛤,你說我怎么就攤上這事〕赂兀” “怎么了揍鸟?”我有些...
    開封第一講書人閱讀 152,370評論 0 342
  • 文/不壞的土叔 我叫張陵,是天一觀的道長句旱。 經常有香客問我阳藻,道長,這世上最難降的妖魔是什么谈撒? 我笑而不...
    開封第一講書人閱讀 55,168評論 1 278
  • 正文 為了忘掉前任腥泥,我火速辦了婚禮,結果婚禮上啃匿,老公的妹妹穿的比我還像新娘蛔外。我一直安慰自己,他們只是感情好溯乒,可當我...
    茶點故事閱讀 64,153評論 5 371
  • 文/花漫 我一把揭開白布夹厌。 她就那樣靜靜地躺著,像睡著了一般裆悄。 火紅的嫁衣襯著肌膚如雪矛纹。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 48,954評論 1 283
  • 那天光稼,我揣著相機與錄音或南,去河邊找鬼。 笑死艾君,一個胖子當著我的面吹牛采够,可吹牛的內容都是我干的。 我是一名探鬼主播腻贰,決...
    沈念sama閱讀 38,271評論 3 399
  • 文/蒼蘭香墨 我猛地睜開眼吁恍,長吁一口氣:“原來是場噩夢啊……” “哼扒秸!你這毒婦竟也來了播演?” 一聲冷哼從身側響起冀瓦,我...
    開封第一講書人閱讀 36,916評論 0 259
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎写烤,沒想到半個月后翼闽,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經...
    沈念sama閱讀 43,382評論 1 300
  • 正文 獨居荒郊野嶺守林人離奇死亡洲炊,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內容為張勛視角 年9月15日...
    茶點故事閱讀 35,877評論 2 323
  • 正文 我和宋清朗相戀三年感局,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片暂衡。...
    茶點故事閱讀 37,989評論 1 333
  • 序言:一個原本活蹦亂跳的男人離奇死亡询微,死狀恐怖,靈堂內的尸體忽然破棺而出狂巢,到底是詐尸還是另有隱情撑毛,我是刑警寧澤,帶...
    沈念sama閱讀 33,624評論 4 322
  • 正文 年R本政府宣布唧领,位于F島的核電站藻雌,受9級特大地震影響,放射性物質發(fā)生泄漏斩个。R本人自食惡果不足惜胯杭,卻給世界環(huán)境...
    茶點故事閱讀 39,209評論 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望受啥。 院中可真熱鬧做个,春花似錦、人聲如沸滚局。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,199評論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽核畴。三九已至膝但,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間谤草,已是汗流浹背跟束。 一陣腳步聲響...
    開封第一講書人閱讀 31,418評論 1 260
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留丑孩,地道東北人冀宴。 一個月前我還...
    沈念sama閱讀 45,401評論 2 352
  • 正文 我出身青樓,卻偏偏與公主長得像温学,于是被迫代替她去往敵國和親略贮。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當晚...
    茶點故事閱讀 42,700評論 2 345

推薦閱讀更多精彩內容