-
Notifications
You must be signed in to change notification settings - Fork 63
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
Component and View typings not working #52
Comments
No, it's not bugged. Read carefully what the first step says about System.js. Component and View typings can only be imported via NPM. |
I am afraid I don't understand what you mean. Also I guess that downloading code for step 0 and running meteor command should produce valid app, that's not the case typing is still wrong. Please let me know if I am terribly wrong! |
In the initial post you stated "Component and View typings can't be imported from 'angular2/core'". My answer was directly about that. If it's not right means you didn't have much desire to help yourself; sorry I am not a magician to foresee all potential issues you can get. About step 0. I just downloaded zero step's code here https://github.com/Urigo/meteor-angular2.0-socially/archive/step_0.zip into an empty folder and run it from there. It worked out as expected: first typings were installed, then I re-ran the app with no any typings issues showed up. Just try to do the same, and let me know about the result. |
I have tried it, typings are installed after running meteor command. |
where does it produce errors? in the terminal? |
Terminal is not showing any errors, it is showing: Sublime text with TypeScript package is red underlying line : and word Socially in line: While terminal is showing information about refreshing browser still shows Also as a side note zip for step zero has (step one is ok) On 29 December 2015 at 12:00, Alex notifications@github.com wrote:
|
So it's your Sublime's problem, neither the package nor Meteor has nothing to do it with it. Configure your Sublime and that's it. |
It might be the case that it is also sublime problem. But then templateUrl On 31 December 2015 at 03:48, Alex notifications@github.com wrote:
|
Yes, 0-step's zip archive is outdated, but the tutorial and repo are right, follow them. |
Angular-meteor tutorial with angular2 is bugged from the first step. Component and View typings can't be imported from 'angular2/core' (I am including reference path="../typings/angular2-meteor.d.ts" / also import {bootstrap} from 'angular2/bootstrap'; works)
The text was updated successfully, but these errors were encountered: