Angular: The bound output click does not exist on any directives or on the element (5.0.0-beta)

Created on 10 Jul 2018  路  8Comments  路  Source: angulardart/angular

Dart SDK: 2.0.0-dev.68
AngularDart: 5.0.0-beta
Windows 10
Chrome Version 67.0.3396.99 (Official Build) (64-bit)
WebStorm 2018.1.5

Ever since updating to the 5.0 beta, I'm getting this warning on all my template click handlers:

The bound output click does not exist on any directives or on the element.

It happens whenever (click) is on a standard HTML element, like a <button>.

These warnings show up in the Dart Analysis panel of WebStorm.

analysis bug blocked

Most helpful comment

Can confirm. Seeing the same warnings now after upgrading to the beta.

All 8 comments

/cc @MichaelRFairhurst Is this a known issue?

I see similar complaints for

  • _change_ on input elements
  • _input_ on textarea elements
  • _click_ on div elements

Despite the warnings, the listeners work as expected.

Can confirm. Seeing the same warnings now after upgrading to the beta.

I have many thousands of these warnings that pollute dart analyzer output.

Would you mind to fix that issue asap, please ?

I'm also loosing the ability to use print(...) in any of the code called from the handler. There is simply no output at all. The handler is, however, called. In the submit handler set on a form it works as expected.
Works fine in angular 5.0.0-alpha+15. Still present in beta+2.

Hi all. We are making the call whether or not to disable the plugin initially for v5.

You can do that manually without us though, simply:

analyzer:
  exclude: [build/**]
  errors:
    uri_has_not_been_generated: ignore
  plugins:
    - angular # Comment out or remove this line and restart your IDE

(reference: https://github.com/dart-lang/stagehand/issues/561)

I believe this was fixed @MichaelRFairhurst, or?

Yes! Thanks for resurfacing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luisvt picture luisvt  路  5Comments

chalin picture chalin  路  3Comments

matanlurey picture matanlurey  路  4Comments

matanlurey picture matanlurey  路  4Comments

ranquild picture ranquild  路  6Comments