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

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?
Angular CLI install error
Using glob for assets in angular-cli throws error
Importing Global SCSS into Component SCSS with Angular-CLI

Categories

HOME
sas
performancecounter
ipython
bing
decorator
docker-swarm
apache2
wampserver
filter
bro
jpanel
sudo
android-viewpager
rfid
abcpdf
automata
pdo
cvs2svn
uiautomator
apply
remove-method
jquery-scrollify
novnc
auditing
system.data.sqlite
pari
strophe
ifstream
npm-shrinkwrap
phpspreadsheet
large-data
mms
redhat-datavirt
axis-labels
parent
tic-tac-toe
web-development-server
ical-dotnet
react-native-router-flux
microdata
scalafx
encapsulation
onmouseover
walmart-electrode
appstore-approval
pluck
collapsingtoolbarlayout
onresume
createobject
svn-merge
sql-server-administration
packagemaker
galleriffic
zurb-foundation-apps
spark-cassandra-connector
dojox.charting
nssplitview
emokit
handlebars.java
acm
android-cursoradapter
mysqldumpslow
webhdfs
stream-framework
rx-groovy
divide-by-zero
guzzle6
hg-git
android-search
moai
microblaze
google-admin-audit-api
aquafold
funkload
wss
config-files
opensocial
bigint
ng-hide
autostart
vim-powerline
cosm
cross-domain-policy
zookeeper
surf
associative
noir
for-xml-path
nagle
task-management
delegatecommand
multibyte-functions
inline-if
database-diagramming

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