I get that error in browser console. In package.json I set this
"start": "set NODE_ENV=development && node dev-server ./webpack/config",
but it still give same error.I look for minified or min JS file but I can not find any file.It just find this in project import React from 'react';
How can I handle that error?How can I use non minified react file? I am new in NodeJS
React minifies errors for production builds in order to preserve filesize.
It looks like, despite you setting NODE_ENV=development
, you are somehow generating a production build (probably set somewhere in your webpack config file).
You can either figure out how to generate a proper development build (which will output the original error string), or upgrade to React 15.2, whose error strings now include a URL where you can view the original unobfuscated error: https://twitter.com/dan_abramov/status/748969886433546240
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With