我想用gruntjs 0.4建立一個新項目。我卸載了0.3並安裝了grunt-cli和導入的grunt-init gruntfile。當我運行「咕嚕-INIT gruntfile」它運行一樣,它在0.3沒有要求正常問題gruntjs grunt-init grunfile拋出錯誤致命錯誤:path.join的參數必須是字符串
Please answer the following: [?] Is the DOM involved in ANY way? (Y/n) y [?] Will files be concatenated or minified? (Y/n) y [?] Will you have a package.json file? (Y/n) y [?] Do you need to make any changes to the above before continuing? (y/N) n
然而,回答所有我得到的錯誤
Fatal error: Arguments to path.join must be strings
有其他人處理問題後有類似的東西,或者你能指點我正確的方向來調試嗎?
嗨Sindre,你知道它是否被釋放?我仍然遇到這個問題。 – landland 2013-03-16 19:21:10
其中包含修復的grunt 0.4.1已於13日發佈。雖然這是一個普遍的破壞,所以你也可以用其他模塊來體驗它。我總是建議在升級Node.js或任何你依賴的平臺之前等一會兒。從經驗來看,事情總是會打破。 – 2013-03-18 08:57:07
使用watch命令也會發生在v0.10.7中 – 2013-08-19 18:43:13