Skip to content

options.allowedHosts[0] should be a non-empty string. #1

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

Open
YasineNifa opened this issue Sep 9, 2022 · 3 comments
Open

options.allowedHosts[0] should be a non-empty string. #1

YasineNifa opened this issue Sep 9, 2022 · 3 comments

Comments

@YasineNifa
Copy link

Hello guys!
I have this error when I try to start the app npm start
Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. options.allowedHosts[0] should be a non-empty string.
The backend is successfully running.
How can I fix that ?

@peanutsee
Copy link
Owner

Did you check the proxy settings in your package.json?

@YasineNifa
Copy link
Author

Yes, I have this "proxy": "http://127.0.0.1:8000" in my package.json file

@peanutsee
Copy link
Owner

peanutsee commented Sep 9, 2022

Ok, and what is your environment - node version please?

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

2 participants