banderson / generator-flux-react

A yeoman generator for app based on Facebook's Flux/React architecture
332 stars 35 forks source link

Material UI needs `npm dedupe` to run correctly #12

Open banderson opened 9 years ago

banderson commented 9 years ago

Background / Cause

There's currently an issue when choosing the Material UI theme, which causes two versions of react to be loaded on the page. There is a fix coming soon in NPM, but I won't know for sure until it lands.

Workaround

For now, run npm dedupe after the scaffolder finishes running, and restart the dev server (if you previously started it), which should fix the issue in the meantime.

stan-ros commented 9 years ago

Thx you for workaround, works for me.