Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error tracebacks with gruntjs

When encountering an error running grunt, I sometimes get messages like this, with no further information as to where the data variable was not defined, etc.

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

Aborted due to warnings.

Is there a way to show a traceback, or even just the line number at which the error occurred?

like image 826
Greg Avatar asked Dec 21 '22 06:12

Greg


1 Answers

Found it:

grunt --stack

.......

like image 113
Greg Avatar answered Jan 02 '23 18:01

Greg