2017-07-22 4 views
0

「hexoは&& hexoデプロイを生成」:$ & & hexoは、私がこの情報を持って、エラーの理由のないヒントがありませんエラー

を展開生成hexo。

FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html 

Error 
at ChildProcess.<anonymous> (D:\hexo\blog\node_modules\hexo-util\lib\spawn.js:37:17) 

at emitTwo (events.js:106:13) 

at ChildProcess.emit (events.js:191:7) 

at ChildProcess.cp.emit (D:\hexo\blog\node_modules\cross-spawn\lib\enoent.js:40:29) 

at maybeClose (internal/child_process.js:891:16) 

at Socket.<anonymous> (internal/child_process.js:342:11) 

at emitOne (events.js:96:13) 

at Socket.emit (events.js:188:7) 

at Pipe._handle.close [as _onclose] (net.js:497:12) 

答えて

0

たぶん、多少の誤差はnpm installまたはnpm install -g hexo-cliの過程で発生します。方法はありませんが、ヘキソの環境を再インストールします。

ステップ:

  1. cd D:\hexo\blog、及びnpm uninstall hexo

  2. cd D:\hexo、及びrm -rf blog

  3. npm install -g hexo-cli
  4. hexo init blog
  5. npm install
  6. npm install hexo-deployer-git --save
  7. hexo d -g

hexoが再びエラーを展開する場合、あなたはnodejsとNPMを再インストールすることができ、および更新は、最新バージョン(nodejsは必ずしも信頼できるものではない)にnodejs。

my Blog(AppVeyorによるhexoとgithub、CIで構築)をスキャンできます。 とソースファイルがあります
enter image description here
ヘックスとgithubを使って個人的なブログを構築する方法と、3番目のサービスによって自動展開(CI、ウィキで検索)する方法についてのブログを追加しますAppVeyorやTravis CIのようなものです。

+0

ブログをリンクする際には注意が必要です。あまりにも頻繁にすぎると、フラグが立てられます。 –

+0

"フラグが立っている"の意味は何ですか?私はそれについてはあまりよく分かりません。さて、ブログを書く目的は自己宣伝ではないのですか? – yanss

+0

[スパムとして報告](https://stackoverflow.com/help/privileges/flag-posts)[ヘルプセンター](https://stackoverflow.com/help/promotion) –

関連する問題