Warning: Path must be a string . Received null Use --force to continue

用grunt監視文件,當文件修改時,出現'Warning: Path must be a string . Received null Use --force to continuechuxian 。 這個問題是因爲沒有設置reporterOutput,修改Gruntfile.js,添加如下 reporterOutput是設置錯誤報告的輸出路徑,默認爲null,可以是一個文件名,則報告會輸出到文件
相關文章
相關標籤/搜索