본문 바로가기

CRA : 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.

by tonyhan18 2022. 3. 29.
728x90

In CRA 5.0.0, `react-scripts start` fails when both `HOST` in `.env` and `proxy` in `package.json` are defined. · Issue #11762 · facebook/create-react-app (github.com)

 

In CRA 5.0.0, `react-scripts start` fails when both `HOST` in `.env` and `proxy` in `package.json` are defined. · Issue #11762

Describe the bug In CRA 5.0.0, react-scripts start fails when both HOST in .env and proxy in package.json are defined. Did you try recovering your dependencies? This occurs on a newly created proje...

github.com

 

728x90