npmreactjsbrowserify

React - Minified exception occurred


I have React js installed via NPM and using browserify to manage components in react. When an exception occurs in React, the console shows as

"Uncaught Error: Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."

How do I enable full error messages ?


Solution

  • Setting NODE_ENV to development as Benjamin Gruenbaum pointed out in the comment resolved the issues.

    set NODE_ENV=development