2017-03-24 32 views
1

我正在爲一個項目測試NetLify CMS,但我無法在本地環境中工作,因爲gulp服務器在啓動之前崩潰,到以下錯誤:NetLify CMS - 由於缺少./bin/hugo.win32文件導致的gulpe服務器錯誤

$ npm start 

> [email protected] start C:\Users\maufa\Documents\web-development\kaldi-hugo-cms-template 
> gulp server 

[14:17:07] Requiring external module babel-register 
[14:17:08] Using gulpfile ~\Documents\web-development\kaldi-hugo-cms-template\gulpfile.babel.js 
[14:17:08] Starting 'hugo'... 
[14:17:08] Starting 'css'... 
[14:17:09] Starting 'js'... 
[14:17:09] Starting 'svg'... 
[14:17:09] Starting 'cms'... 
[14:17:09] Finished 'cms' after 150 ms 
events.js:160 
    throw er; // Unhandled 'error' event 
^

Error: spawn ./bin/hugo.win32 ENOENT 
at exports._errnoException (util.js:1022:11) 
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) 
at onErrorNT (internal/child_process.js:359:16) 
at _combinedTickCallback (internal/process/next_tick.js:74:11) 
at process._tickCallback (internal/process/next_tick.js:98:9) 
at Module.runMain (module.js:606:11) 
at run (bootstrap_node.js:394:7) 
at startup (bootstrap_node.js:149:9) 
at bootstrap_node.js:509:3 
npm ERR! code ELIFECYCLE 
npm ERR! errno 1 
npm ERR! [email protected] start: `gulp server` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] start script 'gulp server'. 

所以,看起來好像它試圖找到bin文件夾中的hugo.win32。 然而,該文件夾中我AVE:

  • hugo.darwin
  • hugo.exe
  • hugo.linux

任何線索?

回答

相關問題