bs-config.json missing when Angular 2 project made with angular cli
145 views
Skip to first unread message
lafor...@gmail.com
unread,
May 15, 2017, 1:49:29 AM5/15/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Angular and AngularJS discussion
Hi i'm trying to make work an Angular 2 project made with angular cli with latest node js project. The first time i did it with the files in the heroes tutorial so this file bs-config was present and leave me to configure the lite server port. When i use angular cli this file is missing, so what is the substitute file or how to configure it in order to make it compatible with the other approach
Sander Elias
unread,
May 15, 2017, 2:17:15 AM5/15/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Angular and AngularJS discussion
Hi ...,
I don't know your old situation. However, you can add an --port <number> to your 'ng serve' command. I suspect that's what you are looking for. When you don't want to do this every time, adapt your package.json, and add it in there.