Ionic server does not start

Asked

Viewed 171 times

0

I am starting a project in Ionic (version 1), but my server does not start anymore.

I type ionic serve --lab, the following message appears:

Starting server (address: 0.0.0.0, port: 8100, dev server port: 53703, livereload port: 35729) - Ctrl+C to cancel
[OK] Development server running!
     Local: http://localhost:8100
     External: http://192.168.1.5:8100
     DevApp: AluraCar@8100 on DESKTOP-PQPJV63

But when I put localhost:8100 in the browser it says it is not started.

Does anyone have any idea what it might be?

  • 1

    Just try to type Ionic serves to start the server

1 answer

0

It is possible that your code is in error, check the code when assigning values, which is so:

private foo: number;
private foo = 100;

and not like this:

private foo = number;
private foo: 100;

Browser other questions tagged

You are not signed in. Login or sign up in order to post.