angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Executing "ng serve" or "npm start" command browser is not opening automatically

Open deepaksibar opened this issue 10 years ago • 26 comments

  1. OS?
    Window 7
  2. Versions? angular-cli: 0.0.39 node: 5.4.1 os: win32 x64

I have generated a project using angular-cli by following steps given in installation section. Project is running right now. But i have to open browser manually by typing http://localhost:4200/ into browser.

Could it be possible like when user will execute "ng serve" or "npm start" command, browser will open automatically?

Please let me know if it is possible or give me any solution for this.

Thanks in advance.

-Deepak

deepaksibar avatar Jun 14 '16 14:06 deepaksibar

after changing from "start": "ng serve" to "start": "ng serve -o", it worked for me.

nirmalmohanty91 avatar Jan 18 '18 10:01 nirmalmohanty91

Hi I am not able to create angular js application(LINUX- UBUNTU 16) as every time i try to run it ng it opens a text editor in the terminal --**-Mg: scratch (fundamental)----All-----------------

Can anyone please help me in creating a angular js application in ubuntu.

nitanshu1808 avatar Feb 13 '18 23:02 nitanshu1808

Hi i am unable to get any visible content display after connecting my app with angular2 firebase. its show blank page on the browser and successfully compiled error

gcascbt avatar Feb 27 '18 15:02 gcascbt

Try debugging. On Tue, Feb 27, 2018 at 10:25 AM gcascbt [email protected] wrote:

Hi i am unable to get any visible content display after connecting my app with angular2 firebase. its show blank page on the browser and successfully compiled [image: error] https://user-images.githubusercontent.com/22559469/36737172-ba96e318-1bda-11e8-8add-6b398855e037.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/angular/angular-cli/issues/1081#issuecomment-368915136, or mute the thread https://github.com/notifications/unsubscribe-auth/AB3cJhwsDtjMMxwxKISqhcKfs-6wZyVwks5tZB57gaJpZM4I1YYs .

rsprince avatar Feb 27 '18 21:02 rsprince

Hi I am not able to create angular js application(LINUX- UBUNTU 16) as every time i try to run it ng it opens a text editor in the terminal --**-Mg: scratch (fundamental)----All-----------------

Can anyone please help me in creating a angular js application in ubuntu.

I'm facing the same problem. Could you resolve the issue?

abhinandanmadaan avatar Mar 18 '19 07:03 abhinandanmadaan

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.