React-redux-universal-hot-example: webpack-isomorphic-tools::development() method deprecated

Created on 7 Feb 2017  路  2Comments  路  Source: erikras/react-redux-universal-hot-example

Got this error after running npm run start-dev

[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: it should be
"production" for production, otherwise it assumes development.
The currently used mode is: development.
`process.env.NODE_ENV is: development

unsure if this is webpack-isomorphic-tools or this repo or what not it's late

Most helpful comment

And try to use this folk repo https://github.com/bertho-zero/react-redux-universal-hot-example. It's updated.

All 2 comments

On bin/server.js you should try to remove '.development()'.

And try to use this folk repo https://github.com/bertho-zero/react-redux-universal-hot-example. It's updated.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sunkant picture sunkant  路  4Comments

bdsabian picture bdsabian  路  6Comments

c089 picture c089  路  5Comments

LarryEitel picture LarryEitel  路  4Comments

capir picture capir  路  4Comments