4

当遇到运行 grunt 的错误时,我有时会收到类似这样的消息,但没有关于未定义变量的位置等的更多信息。data

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

Aborted due to warnings.

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

4

1 回答 1

11

找到了:

grunt --stack

…………

于 2013-05-07T22:45:15.900 回答