Trace error using gruntjs

When you encounter an error made by grunt, I sometimes get such messages, without additional information about 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 the trace or even the line number in which the error occurred?

+4
source share
1 answer

Found:

 grunt --stack 

.......

+11
source

Source: https://habr.com/ru/post/1479635/


All Articles