Learnt JavaScript


Javascript, Node

If you receive this error:

Invalid Host header
You can hit with this solution: ng serve --host --disable-host-check

Hey! you are new in Node/npm and you have a command something like this to start your project=> npm start?

Then you need to edit your package.json and change the following element in your config:
"start": "ng serve --disable-host-check",