mxstbr / login-flow

:key: A login/register flow built with React&Redux
https://loginflow.mxstbr.com
MIT License
1.6k stars 215 forks source link

blank page #19

Open zorganovic opened 8 years ago

zorganovic commented 8 years ago

After npm start hitting localhost:3000 will render a blank page with Login Flow by Max Stoiber as title.. bummer :disappointed: Could you please create a login project using the generator of react-boilerplate ? because the folders tree of this project is not the same as the former ! thanks

xuefengwang commented 8 years ago

I ran into blank page too. In the console, there was error complaining "Unknown option ... .babelrc.presets". I found the problem is the project is using babel 5, but I have a .babelrc file which includes "presets" option. Weird thing is that .babelrc file is in the parent directory of project. I have no idea why it picked up from there. But after deleting that .babelrc file, the project compiled and I can see the page now.

lambdaverse commented 6 years ago

Same here, conflicting with .babelrc in parent directory.

ERROR in ./js/app.js
Module build failed: ReferenceError: [BABEL] /web-client/login-flow/js/app.js: Unknown option: /web-client/.babelrc.presets
    at Logger.error (/web-client/login-flow/node_modules/babel-core/lib/transformation/file/logger.js:58:11)
    at OptionManager.mergeOptions

Some how related to webpack config make script and .babelrc loading by loader.