Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Errors Encounter at Runtime #2

Open
jacktheking2010 opened this issue Dec 7, 2020 · 0 comments
Open

Multiple Errors Encounter at Runtime #2

jacktheking2010 opened this issue Dec 7, 2020 · 0 comments

Comments

@jacktheking2010
Copy link

Trying to replicate the experiment, follow your instructions but the following errors are thrown by the browser as well as python and react:
Error 1: Access to fetch at 'http://192.168.43.77:8002/test' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. (Can be temporarily solved by extension but than JSON error POST http://192.168.43.77:8002/test 500 (INTERNAL SERVER ERROR) and Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 is thrown)
Error 2: On the python side list index out of range error is thrown.
Kindly help me to run this project locally by give me detail description if possible.

Error 2:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant