angular-cli


Angular 2 : ng build --prod error


I am running ng build --prod and i am getting attached image error.
is there any settings do i need to follow to run ng build --prod as i just run command copied dist folder and pasted in tomcat . then when i run the same on 8080 port i get error as in image
<!-- unit component -->
<form #unitSheet="ngForm" (ngSubmit)="collectInputs(unitSheet.value)" class="form-group">
<h6 #platformBlock>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center"></div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center">
<div class="subHeadTxt">Model Year</div>
<select class="form-control selectpicker" ngModel #modelYear name="modelYear">
<option value="">Select</option>
<option value="2014">2014</option>
<option value="2015">2015</option>
<option value="2016">2016</option>
<option value="2017">2017</option>
<option value="2018">2018</option>
</select>
</div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center">
<div class="subHeadTxt">Production Rate</div>
<select class="form-control selectpicker" ngModel #prodRate name="prodRate">
<option value="">Select</option>
<option value="120">120</option>
<option value="150">150</option>
<option value="180">180</option>
<option value="210">210</option>
<option value="240">240</option>
</select>
</div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center">
<div class="subHeadTxt">Line Number</div>
<select class="form-control selectpicker" ngModel #lineNumber name="lineNumber">
<option value="">Select</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center">
<div class="subHeadTxt">VMC</div>
<select class="form-control selectpicker" ngModel #vmc name="vmc">
<option value="">Select</option>
<option value="A">A</option>
<option value="B">B</option>
<option value="S">S</option>
<option value="E">E</option>
<option value="Y">Y</option>
</select>
</div>
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center">
<h6> </h6>
<button type="button" class="btn btn-primary btn-default" (click)="showReportType()">Go</button>
</div>
</h6>
<h6 #reportTypeBlock *ngIf="reportType">
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center"> </div>
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 text-center">
<select class="form-control selectpicker" ngModel #reportType name="reportType" onchange="reportType.value">
<option value="">Select</option>
<option value="Approved">Approved</option>
<option value="Referenced">Referenced</option>
<option value="SpecificUnit">Specific Unit</option>
</select>
</div>
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 text-center" *ngIf="reportType.value === 'SpecificUnit'"><input type="text" class="form-control" /></div>
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 text-center"><button type="button" class="btn btn-primary btn-default" (click)="showTeam()">Retrieve Team</button></div>
</h6>
<h6 #teamBlock *ngIf="team">
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center"> </div>
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 text-center">
<div class="subHeadTxt text-left">Select Team:</div>
<select class="form-control selectpicker" ngModel #team name="team" onchange="team.value">
<option value="">Select</option>
<option value="t1">Team 1</option>
<option value="t2">Team 2</option>
<option value="t3">Team 3</option>
<option value="t4">Team 4</option>
<option value="t5">Team 5</option>
<option value="t6">Team 6</option>
<option value="t7">Team 7</option>
<option value="t8">Team 8</option>
<option value="t9">Team 9</option>
<option value="t10">Team 10</option>
</select>
</div>
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3 text-center"><div class="subHeadTxt"> </div><button type="button" class="btn btn-primary btn-default" (click)="showProcess()">Retrieve Processes</button></div>
</h6>
<h6 #processBlock *ngIf="process">
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center"> </div>
<div class="col-xs-1 col-sm-10 col-md-10 col-lg-10 text-left">
<div class="subHeadTxt">Select Processess:</div>
<div class="chckBox"><input type="checkbox" /><label>Process 01</label></div>
<div class="chckBox"><input type="checkbox" /><label>Process 02</label></div>
<div class="chckBox"><input type="checkbox" /><label>Process 03</label></div>
<div class="chckBox"><input type="checkbox" /><label>Process 04</label></div>
<div class="chckBox"><input type="checkbox" /><label>Process 05</label></div>
<div class="chckBox"><input type="checkbox" /><label>Process 06</label></div>
<div class="chckBox"><input type="checkbox" /><label>Process 07</label></div>
<div class="chckBox"><input type="checkbox" /><label>Process 08</label></div>
<div class="chckBox"><input type="checkbox" /><label>Process 09</label></div>
<div class="chckBox"><input type="checkbox" /><label>Process 10</label></div>
<h6 class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text-center"><button type="button" class="btn btn-primary btn-default" (click)="showUnit()">Retrieve Unit</button></h6>
</div>
</h6>
<h6 #unitBlock *ngIf="unit">
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 text-center"> </div>
<div class="col-xs-1 col-sm-10 col-md-10 col-lg-10 text-left">
<div class="subHeadTxt">Select Unit:</div>
<div class="chckBox"><input type="checkbox" /><label>Unit 01</label></div>
<div class="chckBox"><input type="checkbox" /><label>Unit 02</label></div>
<div class="chckBox"><input type="checkbox" /><label>Unit 03</label></div>
<div class="chckBox"><input type="checkbox" /><label>Unit 04</label></div>
<div class="chckBox"><input type="checkbox" /><label>Unit 05</label></div>
<div class="chckBox"><input type="checkbox" /><label>Unit 06</label></div>
<div class="chckBox"><input type="checkbox" /><label>Unit 07</label></div>
<div class="chckBox"><input type="checkbox" /><label>Unit 08</label></div>
<div class="chckBox"><input type="checkbox" /><label>Unit 09</label></div>
<div class="chckBox"><input type="checkbox" /><label>Unit 10</label></div>
<h6 class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text-center"><button class="btn btn-primary btn-default" routerLink="report">Generate Report</button></h6>
</div>
</h6>
</form>
<router-outlet></router-outlet>
Error

Related Links

routerLink stopped working in #angular/cli
How to run Angularcli project with https
what is npm i bootstrap#next?
Angular-Cli Best way to manage notices
Puzzling angular-cli AOT error
Create Project with Angular 4 Release using angularcli
addons removed in angular-cli.json whats the replacement
angular-cli: ng serve command with config error
Augury Angular-cli When I installed the augury .Error is as follows
Teamcity for building Angular cli app
angular cli update issue on local folder
Access to -aot parameter in code
Missing peer dependencies after installing latest angular-cli: What to do?
angular-cli ng serve : Error: No errors
Getting error after Angular cli update
Does angular-cli uses rollup to do ahead-of-time compilation and adding all into one file?

Categories

HOME
elixir
jsviews
nuxeo
cpu-architecture
deep-linking
transparent
zend-framework2
vlc
azureservicebus
defragmentation
algorithmic-trading
currency
wordpress-theming
spinnaker
data-synchronization
informatica-powercenter
data-analysis
gwtp
rebol2
titan
riak
cross-platform
sql-tuning
aptana
jogl
zoho
styles
android-fragmentactivity
koa
cvs2svn
scalaz7
thingsboard
source-maps
azure-servicebus-queues
scalajs-react
tampermonkey
excel-2013
reactiveui
entity-system
hawtio
npm-shrinkwrap
jboss-esb
android-download-manager
strstr
declare
magiczoomplus
equivalence
visualstudio.testtools
flex4.5
intellilock
cgo
onbackpressed
stdclass
stress-testing
catia
jgraph
udev
modelattribute
scd
httplib2
pspice
easing
mailcatcher
foxit
com-interop
achievements
emokit
codesign
django-south
inet
post-processing
altbeacon
application-loader
js-cookie
windowlistener
integral
xjc
type-mismatch
ubercart
ibm-data-studio
adobe-indesign
ctrlp
ejabberd-saas
cpan
c++-actor-framework
cloudpebble
temp-tables
gyroscope-framework
livechat
node-inspector
suffix-array
sid
csplit
facebook-chat
vertical-rhythm
vmware-server
resgen
mailcore
usn
vim-powerline
visual-web-gui
cross-domain-policy
zookeeper
goliath
dcpu-16
clause
file-encodings
aio
google-instant
usergroups

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App