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

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?
Angular CLI install error
Using glob for assets in angular-cli throws error
Importing Global SCSS into Component SCSS with Angular-CLI
Error during AOT build with angular-cli 24 and Angular 2.4.1
Add importer to node-sass in angular-cli project
angular-cli#1.0.0-beta.23 (2016-12-15) NOT on npm
Angular cli for existing github project

Categories

HOME
batch-processing
google-cloud-bigtable
tomcat7
wampserver
azureservicebus
terrain
ios10
actionscript-2
ng-admin
shipping
constructor
height
flexbox
opera-mini
bootstrap-popover
jcl
atlassian-plugin-sdk
thumbnails
jive
cython
raphael
deb
activepython
python-textprocessing
pipelinedb
pentaho-report-designer
vertex-buffer
cell-array
jackson-dataformat-csv
referenceerror
ipfw
outsystems
canvasjs
pljson
web-audio-api
nsurlconnection
xen
inkscape
magiczoomplus
lexical-analysis
intellilock
web-development-server
html-agility-pack
median
upsert
bids
openweathermap
spring-data-hadoop
ticker
launch
coremidi
windows-azure-pack
try-finally
mercurial-hook
squirrel
mongo-c-driver
gradle-release-plugin
web-essentials
persistence.xml
android-viewholder
affix
python-winshell
leadtools-sdk
mser
ember-components
ogr2ogr
suffix-array
getimagedata
data-generation
logentries
windows-mobile-6
robospice
jqmobi
google-closure-library
awesomeprint
angularjs-timeout
marmalade-edk
returnurl
qsqltablemodel
cadisplaylink
makefile-project
jquery-selectbox
nssavepanel
datamember
newsstand-kit
printing-web-page
django-nose
nvelocity
rijndael
email-spec
exitstatus
carbide
winsnmp
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