0
我有興趣通過GitHub爲Zurb基金會項目做出貢獻。但是,我無法弄清楚如何構建這個項目。我已經成功地從https://github.com/zurb/foundation.git克隆了存儲庫。開始致力於Zurb基金會
當我運行在命令行grunt
,我收到一個錯誤,指出:
grunt-cli: The grunt command line interface. (v0.1.11)
Fatal error: Unable to find local grunt.
我然後運行命令行npm install grunt
和npm install grunt-cli
。我做到這一點後,我收到一個錯誤,指出:
Loading "Gruntfile.js" tasks...ERROR
>> Error: Cannot find module 'highlight.js'
Warning: Task "default" not found. Use --force to continue.
然而,當我打開Gruntfile.js,我可以看到一個「默認」的任務確實存在。我究竟做錯了什麼?我真的很想弄清楚如何在當地的環境中構建Zurb基金會,以便我可以開始貢獻。
謝謝