kalwalt / ARnft-ES6-react

A testing repository for ARnft in a React app.
https://kalwalt.github.io/ARnft-ES6-react/
6 stars 4 forks source link

Error on start: attempting to host localhost.localdomain #3

Open kalwalt opened 3 years ago

kalwalt commented 3 years ago

I receive this error on OpenSuse, i need to add HOST=localhost in the terminal and then run yarn start as described in this issue https://github.com/facebook/create-react-app/issues/2954: it is possible to change the start script:

{
  ...
  "scripts": {
    "start": "HOST=localhost react-scripts start",
    ...
  }
}

as described on this comment https://github.com/facebook/create-react-app/issues/2954#issuecomment-322233383 don't know if it can be an issue on other systems