我通过NPM安装了React js,并使用
browserify来管理组件的反应。当React中发生异常时,控制台
显示为
“Uncaught Error: Minified exception occurred; use the non-minified dev
environment for the full error message and additional helpful
warnings.”
如何启用完整的错误消息?
本杰明·格伦鲍姆(Benjamin Gruenbaum)在
评论中指出,将NODE_ENV设置为开发,
解决了这些问题。
set NODE_ENV=development