react-director-admin-template icon indicating copy to clipboard operation
react-director-admin-template copied to clipboard

Can not Login in Dev Mode

Open A1Darkwing opened this issue 7 years ago • 4 comments

Hi All & @MacKentoch

First of all i would like to thank you for sharing this great source code. While using this project, I am seeing the issue in Login page, after press Login button. The screen not routed into / as I expected after seeing in the code (Login.js)

I traced the code in Login.js, I saw the error around this line code : const response = await logUserIfNeeded(email, password);

Is logUserIfNeeded returned an action, not a Promise?

I am so sorry if my seeing is not correct. Because I just started learn ReactJS in 2 weeks.

I am looking forward to hearing from you soon. Thank you so much for your help and support.

A1Darkwing avatar Mar 23 '18 10:03 A1Darkwing

Did anybody solve this issue?

williamwallace79 avatar May 04 '18 18:05 williamwallace79

I will soon upgrade the toolchain (webpack 4, dynamic imports...) so I will fix all innrhe same time.

MacKentoch avatar May 04 '18 18:05 MacKentoch

Thank MacKentoch.

A1Darkwing avatar May 08 '18 03:05 A1Darkwing

@MacKentoch: I'm a starter in reactJS, I need your help in resolving an issue, i) I run npm run dev to build the app.bundle.js file it does sucessfully ii) Then npm start to run the application, I get the below error in console as i have added app.bundle.js in index.html file.

Uncaught SyntaxError: Unexpected token < in app.bundle.js

I want to deploy this application to run via apache.

please help me out.

Thanks

chandanv03 avatar Aug 06 '18 11:08 chandanv03