New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected directive value 'undefined' on the View of component 'DisplayComponent' #2104

Closed
RinatMullayanov opened this Issue May 22, 2015 · 6 comments

Comments

Projects
None yet
5 participants
@RinatMullayanov
Copy link

RinatMullayanov commented May 22, 2015

I watched step by step guide https://angular.io/docs/js/latest/guide/ and created my repo https://github.com/RinatMullayanov/step-by-step-guide-with-angular2
with 2.0.0-alpha.23 everything works, but when I wanted to update to 2.0.0-alpha.25, I got an error:

Unexpected directive value 'undefined' on the View of component 'DisplayComponent'
Error
    at new BaseException (https://code.angularjs.org/2.0.0-alpha.25/angular2.dev.js:7159:25)
    at execute.Compiler._compile (https://code.angularjs.org/2.0.0-alpha.25/angular2.dev.js:24579:21)
    at https://code.angularjs.org/2.0.0-alpha.25/angular2.dev.js:24607:35
    at Function.execute.ListWrapper.forEach (https://code.angularjs.org/2.0.0-alpha.25/angular2.dev.js:7593:15)
    at execute.Compiler._compileNestedProtoViews (https://code.angularjs.org/2.0.0-alpha.25/angular2.dev.js:24602:23)
    at https://code.angularjs.org/2.0.0-alpha.25/angular2.dev.js:24587:25
    at Zone.run (https://code.angularjs.org/2.0.0-alpha.25/angular2.dev.js:115:17)
    at Zone.execute.NgZone._createInnerZone.zone.fork.fork.$run [as run] (https://code.angularjs.org/2.0.0-alpha.25/angular2.dev.js:12418:38)
    at zoneBoundFn (https://code.angularjs.org/2.0.0-alpha.25/angular2.dev.js:88:19)
    at lib$es6$promise$$internal$$tryCatch (https://code.angularjs.org/2.0.0-alpha.25/angular2.dev.js:479:16)

2015-05-22 20 05 03

@Braincompiler

This comment has been minimized.

Copy link

Braincompiler commented May 24, 2015

I got the same with v2.0.0-alpha.22 (The version I got using tsd).

How can I workaround it? Can I choose a specific Version? Maybe .23 where it seems to be working?

@RinatMullayanov

This comment has been minimized.

Copy link

RinatMullayanov commented May 24, 2015

I got the same with v2.0.0-alpha.22 (The version I got using tsd).

How can I workaround it? Can I choose a specific Version? Maybe .23 where it seems to be working?

Oh, and update tsd I forgot.
Perhaps this is the reason of my problem - different versions of the tsd and angular2.
Now there are only tsd v2.0.0-alpha.22, well I will wait for the update to tsd v2.0.0-alpha.25.

@JavascriptMick

This comment has been minimized.

Copy link

JavascriptMick commented May 24, 2015

Last time I got this error was the name change from For to NgFor. Nobody is doing a good job of updating the tsd along with the builds so you need to self-maintain for now.

@gdi2290

This comment has been minimized.

Copy link
Member

gdi2290 commented May 24, 2015

I have a PR open with latest definitions that I made while workingon Angular 2

DefinitelyTyped/DefinitelyTyped#4432

@RinatMullayanov

This comment has been minimized.

Copy link

RinatMullayanov commented May 24, 2015

I have a PR open with latest definitions that I made while workingon Angular 2

DefinitelyTyped/DefinitelyTyped#4432

Thanks

@mhevery

This comment has been minimized.

Copy link
Member

mhevery commented May 31, 2015

No action for us closing.

@mhevery mhevery closed this May 31, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment