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 revert from Angular-cli to Angular without cli for server-side rendering with Angular Universal
How to change file index outside the root
angularCLI Access-Control-Allow-Origin Multiple Origin Domains
Angular CLI how to merge json files
Angular CLI (ng) use single instead of double quotes
can't install angular cli on ubuntu 16.04
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

Categories

HOME
rest
wsdl
agile
label
youtube-livestreaming-api
visualization
tomcat7
phpstorm
dataframe
apiconnect
octopus-deploy
eclipse-cdt
x11
cakephp-2.9
ndis
jboss7.x
xlsx
public-key-encryption
medium-editor
scaling
dendrogram
aptana
sonarqube-msbuild-runner
google-maps-android-api-2
cruisecontrol.net
fop
header-files
searchbar
activepython
rhandsontable
fetch-api
ab-initio
owl-api
chrome-native-messaging
system.data.sqlite
mayavi
hana-studio
partial-application
multichoiceitems
gzip
bxslider
hibernate-cache
crt
canvasjs
body-parser
ocs
ios-ui-automation
openpgp
nlb
vmd
haskell-pipes
ntfs-mft
median
amazon-clouddrive
applepayjs
azureportal
openh264
etherpad
pagefile
photography
fontconfig
search-box
python-hypothesis
visual-studio-templates
sqldatareader
android-navigationview
pydio
webkit2
com-interop
ng2-material
search-regex
financial
concur
cctray
java.util.calendar
geodjango
windows-vista
hornetq
zuora
rad
registrykey
response-headers
apigee-baas
ffserver
leadtools-sdk
ytplayerview
gray-code
android-search
python-ggplot
cloudpebble
grunt-express
libssh2
sthttprequest
power-law
dynamic-proxy
facebook-chat
driver-signing
vertical-rhythm
magickwand
vertical-scrolling
pascals-triangle
htmltextwriter
gdataxml
pys60
ninject-extensions
hibernate3
jpf
flash-cs5.5
msgbox
galaxy-tab
dcpu-16
collect
for-xml-path
adobe-contribute
zend-form-element
drawtext
j-interop
google-instant
method-signature
virtualquery
outlook-form
project-lifecycle

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