erikras / react-redux-universal-hot-example

A starter boilerplate for a universal webapp using express, react, redux, webpack, and react-transform
MIT License
12.01k stars 2.5k forks source link

.development() method is now depreced #1338

Open pisze-programy opened 7 years ago

pisze-programy commented 7 years ago

Hey in /webpack/dev.config.js at 113 line webpack saying that you should use env method instead of .development().

[0] webpack building... [1] [webpack-isomorphic-tools] [error] .development() method is now deprecated (for server-side instance only, not for webpack plugin instance) and has no effect. Set up a proper process.env.NODE_ENV variable instead. [0] webpack built 9268a17c9653912a317b in 9268ms

leaky commented 7 years ago

I had this issue yesterday, just simply comment out the .development() line in ./bin/server