0
按照官方指南我在我的Mac中安裝了nodejs,yoman,bower,gulp和generator-jhipster。執行「yo jhipster」命令後,顯示出現錯誤。哪裏錯了?我可以運行「./mvnw」和啓動服務器,但主頁提示我有錯誤。創建jhipster示例21點應用程序時出錯
npm install -g yo
npm install -g bower
npm install -g gulp
npm install -g generator-jhipster
yo jhipster
...
bootstrap#3.3.7 src/main/webapp/bower_components/bootstrap
└── jquery#3.1.0
events.js:160
throw er; // Unhandled 'error' event
^
Error: spawn gulp ENOENT
at exports._errnoException (util.js:1026: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)