You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by petal-person December 16, 2021
Platform: Ubuntu
Cra & react-scripts Version: 5.0.0
NodeJS Version: v16.13.1
NPM Version: 8.3.0
Okay so, whenever I add the proxy configuration to my package.json I get an error. But without it, the project compiles & the server starts just fine.
This is the terminal with the error:
> app@0.1.0 start
> react-scripts 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.
This even happens on a plain boilerplate project. this is what my package.json looks like:
Discussed in #11788
Originally posted by petal-person December 16, 2021
Platform: Ubuntu
Cra & react-scripts Version: 5.0.0
NodeJS Version: v16.13.1
NPM Version: 8.3.0
Okay so, whenever I add the proxy configuration to my package.json I get an error. But without it, the project compiles & the server starts just fine.
This is the terminal with the error:
This even happens on a plain boilerplate project. this is what my package.json looks like:
I'm trying to figure out what the problem is, I don't know if it's with my server or something in react...
Any help is appreciated :)
The text was updated successfully, but these errors were encountered: