angular-cli


Puzzling angular-cli AOT error


I am using angular-cli. I build the app with
ng b --aot
only to see the following type of error:
ERROR in /home/tora/repos/my-repo/console/src/$$_gendir/app/pods/unit-results/unit-results.component.ngfactory.ts (114,35): Supplied parameters do not match any signature of call target.
I'm at a loss how to track down this error. The app lints, compiles, and runs in non-AOT mode with no issues. When the build command terminates, any $$_gendir directory is long gone so there's nothing for me to look at.
There seem to have been two problems:
a #HostListener decorator on a method.
a missing parameter to ngOnChanges, which TS was perfectly happy about.

Related Links

How to solve No 'Access-Control-Allow-Origin' header is present on the requested resource with angular 2 service written with angular-cli?
Usage of watch parameter in eject command of Angular CLI
Serving and testing a bundle after ng build
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?

Categories

HOME
cluster-computing
udp
erlang
payment-gateway
dynamics-crm
bower
translation
cpu-architecture
puppet
steam
smartphone
visualization
amazon-product-api
computer-vision
apollo
automated-tests
browserify
proguard
automata
gwtp
local
glpk
scala-native
factor-analysis
derived
jsonserializer
ejbca
jive
pycrypto
ng2-dragula
distance
hhvm
go-cd
http-method
visual-c++-2017
osmdroid
web-frontend
frp
edge-detection
hibernate-cache
strophe
skygear
pox
vsts-package-management
redhat-datavirt
zero
magiczoomplus
haskell-pipes
visualstudio.testtools
paho
estimation
floor
pinvoke
tcserver
heroku-postgres
iron.io
audioqueue
software-product-lines
json-schema-validator
pax-web
freetype2
squirrel
gmsmapview
aerogear
bluesnap
git-rebase
portfolio
multinomial
android-recyclerview
test-class
textkit
js-cookie
anti-patterns
pl-i
google-admin-audit-api
ghostdoc
ember-addon
getimagedata
yahoo-boss-api
surrogate-key
opensocial
svcutil.exe
dynamic-proxy
nsmatrix
installshield-2011
leptonica
multiple-conditions
cgimageref
process-monitor
abnf
bulbs
scrollto
charts4j
gethashcode
asp.net-routing
yajl

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