2013-05-07 52 views
4

当遇到一个错误运行的呼噜声,我有时会收到此类邮件,以作为没有进一步的信息,其中没有定义data变量等错误回溯与gruntjs

Running "render-site:dev" (render-site) task 
Warning: data is not defined Use --force to continue. 

Aborted due to warnings. 

是否有办法显示回溯,甚至只是发生错误的行号?

回答

11

发现:

grunt --stack 

.......

+2

字面上我花了2个小时找到。如果咕噜声是真实的话,我会把它扔出窗外教给它一个教训。 – 2013-08-10 01:32:12