Deploying an angular 2 App to an apache server

1,155 views
Skip to first unread message

tony pro

unread,
Mar 1, 2016, 11:15:49 AM3/1/16
to AngularJS
Hello,

I am new by angular 2 i just finished building my first angular 2 application with TypeScript.
I first clone the initial project from this repository :https://github.com/angularclass/angular2-webpack-starter.git
But when i use the build in server command 'npm start' every thing works fine in this url: http://localhost:3000

now according to the instructions form the project repository,
### server
# development
npm run server
# production
npm run build:prod
npm run server:prod

I rang the following command 'npm run build:prod' to get the production package. 

But this the error i am getting.














Please can someone help me out ?
Reply all
Reply to author
Forward
0 new messages