[Vuejs]-How to get Visual Studio to display the real Vue.js error? "The command npm run build exited with code 1.”

0👍

Found it. Visual Studio -> Tools -> Options -> Projects and Solutions -> Build and Run -> MSBuild project build output verbosity. Change this to Detailed.

Then, when you try to debug the project, VS will still give you the useless error in the ErrorList window, but if you look in the Output window, the real error will be there:

enter image description here

Leave a comment