2013-11-25 34 views
2

當我試圖在Windows 7 yo jhipster產生32位的機器,我得到了下面的錯誤:行家堆棧(約曼+ Maven的春季+)錯誤

bower json3#~3.2.5 progress received 3.7MB of 4.9MB downloaded, 75% libjpeg-62.dll: downloading [===================] 100% 0.0s

? pre-build test failed, compiling from source...

d:\Self_jhipster\node_modules\grunt-contrib-imagemin\node_modules\jpegtran-bin\ lib\check.js:19 throw new Error('building is not supported on ' + process.platform);

     ^Error: building is not supported on win32 

at d:\Self_jhipster\node_modules\grunt-contrib-imagemin\node_modules\jpegtran-bin\lib\check.js:19:10 

如何解決這個問題?

回答

4

我是http://jhipster.github.io/的作者,這是你所指的發電機。

我發現你的問題,這確實是jpegtran-bin中的一個錯誤。我已經更新了Grunt.js中的所有依賴項,並且現在它應該可以在Windows上正常工作。

這將在下一個版本(0.2.1)中提交,該版本應在幾個小時後發佈。

您還可以提交bug在https://github.com/jhipster/generator-jhipster/issues

+0

版本0.2.1在Windows 32位看起來不錯。順便說一句,如果我們使用Compass,應該在我們第一次運行'mvn jetty:run'之前運行'grunt server'來編譯css。 –

+0

非常感謝!我沒有Windows,所以我很難測試!我會看看Compass。 –