当遇到运行 grunt 的错误时,我有时会收到类似这样的消息,但没有关于未定义变量的位置等的更多信息。data
Running "render-site:dev" (render-site) task
Warning: data is not defined Use --force to continue.
Aborted due to warnings.
有没有办法显示回溯,甚至只是发生错误的行号?
当遇到运行 grunt 的错误时,我有时会收到类似这样的消息,但没有关于未定义变量的位置等的更多信息。data
Running "render-site:dev" (render-site) task
Warning: data is not defined Use --force to continue.
Aborted due to warnings.
有没有办法显示回溯,甚至只是发生错误的行号?