login-flow icon indicating copy to clipboard operation
login-flow copied to clipboard

blank page

Open zorganovic opened this issue 9 years ago • 2 comments

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

zorganovic avatar May 24 '16 17:05 zorganovic

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.

xuefengwang avatar Jun 10 '16 02:06 xuefengwang

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.

lambdaverse avatar Nov 26 '17 22:11 lambdaverse