mp3por mp3por - 1 year ago 203
AngularJS Question

angular-cli ng server errors on start up

I have installed angular-cli and am attempting to 'ng serve' an Angular project created via "ng new [BLAH]FrontEnd", but I am getting those errors:

pastebin :

What is going on. When I navigate to http://localhost:4200/ i see :

Uncaught Error: Cannot find module "webpack-dev-server/client?http://localhost:4200/"(…)

Answer Source

try npm start instead ng serve to run the server with http://localhost:4200/

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download